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 @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 - corepack enable
- pnpm install --frozen-lockfile - pnpm install --frozen-lockfile
- name: typecheck
image: node:22-alpine
depends_on: [install]
commands:
- pnpm turbo typecheck
- name: lint - name: lint
image: node:22-alpine image: node:22-alpine
depends_on: [install]
commands: commands:
- pnpm turbo lint - pnpm turbo lint
- name: typecheck
image: node:22-alpine
commands:
- pnpm turbo typecheck
- name: build - name: build
image: node:22-alpine image: node:22-alpine
depends_on: [typecheck]
commands: commands:
- pnpm turbo build - pnpm turbo build
- name: test - name: test
image: node:22-alpine image: node:22-alpine
depends_on: [build]
commands: commands:
- pnpm turbo test - pnpm turbo test
services: services:
- name: valkey - name: valkey
image: valkey/valkey:8-alpine image: valkey/valkey:8-alpine
environment: ports: ["6379:6379"]
- 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

View File

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

View File

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

View File

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