teamshare-bridge 0.8.0 → 0.9.2

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.
Files changed (64) hide show
  1. package/dist/bridge/index.js +9 -1
  2. package/dist/bridge/index.js.map +1 -1
  3. package/dist/bridge/local-server.js +9 -1
  4. package/dist/bridge/local-server.js.map +1 -1
  5. package/dist/cli/commands/build.js +37 -2
  6. package/dist/cli/commands/build.js.map +1 -1
  7. package/dist/cli/commands/chat.js +4 -2
  8. package/dist/cli/commands/chat.js.map +1 -1
  9. package/dist/cli/commands/cleanup.d.ts +1 -0
  10. package/dist/cli/commands/cleanup.js +79 -0
  11. package/dist/cli/commands/cleanup.js.map +1 -0
  12. package/dist/cli/commands/doc.js +4 -2
  13. package/dist/cli/commands/doc.js.map +1 -1
  14. package/dist/cli/commands/harness.d.ts +8 -0
  15. package/dist/cli/commands/harness.js +31 -0
  16. package/dist/cli/commands/harness.js.map +1 -1
  17. package/dist/cli/commands/run.js +80 -20
  18. package/dist/cli/commands/run.js.map +1 -1
  19. package/dist/cli/commands/worker.js +216 -18
  20. package/dist/cli/commands/worker.js.map +1 -1
  21. package/dist/cli/index.js +4 -0
  22. package/dist/cli/index.js.map +1 -1
  23. package/dist/cli/utils.d.ts +6 -0
  24. package/dist/cli/utils.js +9 -0
  25. package/dist/cli/utils.js.map +1 -1
  26. package/dist/lib/chat-reply.d.ts +8 -3
  27. package/dist/lib/chat-reply.js +58 -9
  28. package/dist/lib/chat-reply.js.map +1 -1
  29. package/dist/lib/config.d.ts +15 -0
  30. package/dist/lib/config.js +7 -0
  31. package/dist/lib/config.js.map +1 -1
  32. package/dist/lib/doc-reply.d.ts +2 -0
  33. package/dist/lib/doc-reply.js +22 -1
  34. package/dist/lib/doc-reply.js.map +1 -1
  35. package/dist/lib/git-auth.d.ts +2 -0
  36. package/dist/lib/git-auth.js +7 -0
  37. package/dist/lib/git-auth.js.map +1 -1
  38. package/dist/lib/git-auto.d.ts +28 -0
  39. package/dist/lib/git-auto.js +135 -0
  40. package/dist/lib/git-auto.js.map +1 -0
  41. package/dist/lib/git-pipeline.d.ts +55 -0
  42. package/dist/lib/git-pipeline.js +250 -0
  43. package/dist/lib/git-pipeline.js.map +1 -0
  44. package/dist/lib/harness-adapter.js +10 -2
  45. package/dist/lib/harness-adapter.js.map +1 -1
  46. package/dist/lib/llm.d.ts +4 -2
  47. package/dist/lib/llm.js +8 -5
  48. package/dist/lib/llm.js.map +1 -1
  49. package/dist/lib/models.d.ts +4 -0
  50. package/dist/lib/models.js +14 -2
  51. package/dist/lib/models.js.map +1 -1
  52. package/dist/lib/orchestrator/client.js +11 -55
  53. package/dist/lib/orchestrator/client.js.map +1 -1
  54. package/dist/lib/pr-create.d.ts +30 -0
  55. package/dist/lib/pr-create.js +83 -0
  56. package/dist/lib/pr-create.js.map +1 -0
  57. package/dist/lib/retry.d.ts +17 -0
  58. package/dist/lib/retry.js +55 -0
  59. package/dist/lib/retry.js.map +1 -0
  60. package/dist/lib/run-report.d.ts +41 -0
  61. package/dist/lib/run-report.js +103 -0
  62. package/dist/lib/run-report.js.map +1 -0
  63. package/package.json +49 -49
  64. package/skills/teamshare-cdd/SKILL.md +8 -4
package/package.json CHANGED
@@ -1,50 +1,50 @@
1
- {
2
- "name": "teamshare-bridge",
3
- "version": "0.8.0",
4
- "description": "Local bridge for TeamShare agents - CLI session runner, auto-wake WebSocket daemon, and teamshare:// protocol handler.",
5
- "type": "commonjs",
6
- "license": "MIT",
7
- "keywords": [
8
- "teamshare",
9
- "agent",
10
- "bridge",
11
- "mcp",
12
- "ai",
13
- "automation"
14
- ],
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/dominionbanjo/teamshare-bridge.git"
18
- },
19
- "files": [
20
- "dist",
21
- "skills",
22
- "templates",
23
- "tools",
24
- "README.md"
25
- ],
26
- "bin": {
27
- "teamshare-agent": "dist/cli/index.js",
28
- "teamshare-bridge": "dist/bridge/index.js"
29
- },
30
- "engines": {
31
- "node": ">=18"
32
- },
33
- "scripts": {
34
- "build": "tsc -p tsconfig.json",
35
- "prepare": "npm run build",
36
- "dev": "tsc -p tsconfig.json --watch",
37
- "lint": "eslint src --ext .ts",
38
- "typecheck": "tsc --noEmit -p tsconfig.json"
39
- },
40
- "dependencies": {
41
- "socket.io-client": "^4.8.3"
42
- },
43
- "devDependencies": {
44
- "@types/node": "^22.0.0",
45
- "typescript": "^5.6.0"
46
- },
47
- "optionalDependencies": {
48
- "node-pty": "^1.1.0"
49
- }
1
+ {
2
+ "name": "teamshare-bridge",
3
+ "version": "0.9.2",
4
+ "description": "Local bridge for TeamShare agents - CLI session runner, auto-wake WebSocket daemon, and teamshare:// protocol handler.",
5
+ "type": "commonjs",
6
+ "license": "MIT",
7
+ "keywords": [
8
+ "teamshare",
9
+ "agent",
10
+ "bridge",
11
+ "mcp",
12
+ "ai",
13
+ "automation"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/dominionbanjo/teamshare-bridge.git"
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "skills",
22
+ "templates",
23
+ "tools",
24
+ "README.md"
25
+ ],
26
+ "bin": {
27
+ "teamshare-agent": "dist/cli/index.js",
28
+ "teamshare-bridge": "dist/bridge/index.js"
29
+ },
30
+ "engines": {
31
+ "node": "\u003e=18"
32
+ },
33
+ "scripts": {
34
+ "build": "tsc -p tsconfig.json",
35
+ "prepare": "npm run build",
36
+ "dev": "tsc -p tsconfig.json --watch",
37
+ "lint": "eslint src --ext .ts",
38
+ "typecheck": "tsc --noEmit -p tsconfig.json"
39
+ },
40
+ "dependencies": {
41
+ "socket.io-client": "^4.8.3"
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^22.0.0",
45
+ "typescript": "^5.6.0"
46
+ },
47
+ "optionalDependencies": {
48
+ "node-pty": "^1.1.0"
49
+ }
50
50
  }
@@ -79,16 +79,20 @@ Rules that are not optional:
79
79
  related docs, follow-ups.
80
80
  13. Post the closing comment referencing the summary doc.
81
81
  14. Never leave a task without `plan.md` + `summary.md` notes.
82
- 15. **Update the project context when reality changed** (mandatory). If your
82
+ 15. **Git is the runner's job.** After your session the bridge automatically
83
+ commits everything in the working tree on branch
84
+ `teamshare/<taskId8>`, pushes it and opens a pull request — so do NOT
85
+ run git commit/branch/push yourself and never leave work outside the
86
+ linked folder; just save your files before finishing. The closing
87
+ comment reports the commit/push/PR outcome (or why it was skipped).
88
+ 16. **Update the project context when reality changed** (mandatory). If your
83
89
  work added/moved/deleted folders or files that matter, changed commands or
84
90
  workflows, or established new conventions — call `update_project_context`
85
91
  with the affected sections (`structure`, `workflows`, `conventions`,
86
92
  `architecture`, `gotchas`) and the `baseVersion` from your last read.
87
93
  A stale version means another writer got there first: re-read via
88
94
  `get_project_context`, merge, retry. The next agent depends on this being
89
- accurate — do not leave the map stale.
90
-
91
- ## Task status progression (guidance)
95
+ accurate — do not leave the map stale.## Task status progression (guidance)
92
96
 
93
97
  Status can be set to **any value from any state** — the system allows free
94
98
  transitions and reversal. No blocking errors. Use this as a guideline: