1 Commits

Author SHA1 Message Date
d583dd39c8 feat(wave2): add @mosaic/openclaw-context plugin to monorepo
- OpenClaw → OpenBrain context engine plugin migrated from mosaic/openclaw-openbrain-context
- Depends on @mosaic/types workspace:*
- Typecheck passing
2026-03-06 18:33:09 -06:00
8 changed files with 10 additions and 67 deletions

View File

@@ -1,8 +0,0 @@
# Changesets
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets).
We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md).

View File

@@ -1,11 +0,0 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.3/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}

View File

@@ -1,7 +0,0 @@
---
"@mosaic/types": minor
"@mosaic/queue": minor
"@mosaic/openclaw-context": minor
---
Initial release of the @mosaic/* monorepo packages.

1
.npmrc
View File

@@ -1,2 +1 @@
@mosaic:registry=https://git.mosaicstack.dev/api/packages/mosaic/npm
//git.mosaicstack.dev/api/packages/mosaic/npm/:_authToken=${GITEA_NPM_TOKEN}

View File

@@ -5,45 +5,26 @@ steps:
- corepack enable
- pnpm install --frozen-lockfile
- name: typecheck
image: node:22-alpine
depends_on: [install]
commands:
- pnpm turbo typecheck
- name: lint
image: node:22-alpine
depends_on: [install]
commands:
- pnpm turbo lint
- name: typecheck
image: node:22-alpine
commands:
- pnpm turbo typecheck
- name: build
image: node:22-alpine
depends_on: [typecheck]
commands:
- pnpm turbo build
- name: test
image: node:22-alpine
depends_on: [build]
commands:
- pnpm turbo test
services:
- name: valkey
image: valkey/valkey:8-alpine
environment:
- ALLOW_EMPTY_PASSWORD=yes
- name: publish
image: node:22-alpine
depends_on: [test]
when:
branch: main
event: push
environment:
GITEA_NPM_TOKEN:
from_secret: gitea_npm_token
commands:
- corepack enable
- pnpm changeset version || true
- pnpm changeset publish
ports: ["6379:6379"]

View File

@@ -30,7 +30,6 @@
"node": ">=20.0.0"
},
"publishConfig": {
"registry": "https://git.mosaicstack.dev/api/packages/mosaic/npm",
"access": "public"
},
"dependencies": {

View File

@@ -10,9 +10,7 @@
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"files": ["dist"],
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc --noEmit",
@@ -21,9 +19,5 @@
},
"devDependencies": {
"typescript": "^5"
},
"publishConfig": {
"registry": "https://git.mosaicstack.dev/api/packages/mosaic/npm",
"access": "public"
}
}

View File

@@ -2,7 +2,7 @@
"name": "@mosaic/openclaw-context",
"version": "0.1.0",
"type": "module",
"description": "OpenClaw OpenBrain context engine plugin",
"description": "OpenClaw \u2192 OpenBrain context engine plugin",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
@@ -34,9 +34,5 @@
"openbrain",
"context-engine",
"plugin"
],
"publishConfig": {
"registry": "https://git.mosaicstack.dev/api/packages/mosaic/npm",
"access": "public"
}
}
]
}