@mosse-ai/cli 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,42 @@
1
1
  {
2
2
  "name": "@mosse-ai/cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.1",
4
+ "type": "module",
5
+ "bin": {
6
+ "mosse": "./dist/index.js"
7
+ },
8
+ "files": [
9
+ "dist",
10
+ "skill"
11
+ ],
12
+ "dependencies": {},
13
+ "devDependencies": {
14
+ "@types/node": "^22.10.5",
15
+ "tsx": "^4.19.2",
16
+ "typescript": "^5.7.3",
17
+ "esbuild": "^0.25.0",
18
+ "get-east-asian-width": "1.7.0",
19
+ "@mosse/contract": "0.0.0",
20
+ "@mosse/tool-surface": "0.0.0"
21
+ },
22
+ "description": "Mosse command-line client: boards, tasks, knowledge search, and agent-friendly device login.",
23
+ "license": "UNLICENSED",
24
+ "engines": {
25
+ "node": ">=22"
26
+ },
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "keywords": [
31
+ "mosse",
32
+ "cli",
33
+ "agent",
34
+ "mcp"
35
+ ],
36
+ "scripts": {
37
+ "build": "node scripts/build.mjs && node --import tsx scripts/write-skill.mjs",
38
+ "dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
39
+ "typecheck": "tsc -p tsconfig.json --noEmit",
40
+ "test": "node --import tsx --test --test-timeout=60000 --test-force-exit 'src/**/*.test.ts'"
41
+ }
6
42
  }
package/skill/SKILL.md ADDED
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: mosse
3
+ description: "Use the Mosse CLI (mosse) to read and write Mosse boards: tasks and checklists, dependencies, links, activity, projects, and knowledge search. Use when the user asks about Mosse tasks or projects, or when a mosse command is needed."
4
+ ---
5
+
6
+ <!-- mosse-skill-version: 0.0.0 -->
7
+
8
+ # mosse CLI — agent cheatsheet
9
+ export MOSSE_TOKEN=mos_pat_… # MOSSE_WORKSPACE=<id> when the token covers several
10
+ Always pass --json (compact output). JSON-valued flags accept "@file".
11
+ READ
12
+ mosse board task list <projectId> --json
13
+ mosse board task get <ref> --json | --view full | --json=todos,links
14
+ mosse board activity list <ref> --json
15
+ mosse auth whoami --json
16
+ WRITE (all print the result; clientId is echoed on stderr — reuse it on retry)
17
+ mosse board task create <projectId> --title "…" --json
18
+ mosse board task update <ref> --todos '[{"text":"a"}]' --json # todos REPLACE the list
19
+ mosse board task create-batch <projectId> --tasks @tasks.json --json
20
+ tasks.json = [{"title":"A"},{"title":"B","dependsOn":[0]}] # dependsOn = index IN THIS BATCH, not a task id
21
+ mosse board task dependency-add <ref> --depends-on <ref> --json
22
+ mosse board task dependency-remove <ref> --depends-on <ref> --yes --json
23
+ mosse board task link-add <ref> --url https://… --label "…" --json
24
+ mosse knowledge search "query" --json
25
+ RETRY: same clientId = same payload (changed payload ⇒ new clientId); unknown outcome ⇒ read before retry.
26
+ EXIT: 0 ok · 2 usage · 3 auth · 4 not found · 5 conflict. Errors go to stderr (JSON with --json).
27
+ More commands: mosse <domain> --help ; one command: mosse <domain> <command> --help.
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.