gm-thebird 2.0.1028 → 2.0.1029

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/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1028",
3
+ "version": "2.0.1029",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-thebird",
3
- "version": "2.0.1028",
3
+ "version": "2.0.1029",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1028",
3
+ "version": "2.0.1029",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": {
6
6
  "name": "AnEntrypoint",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: browser
3
3
  description: Browser automation via playwriter. Use when user needs to interact with websites, navigate pages, fill forms, click buttons, take screenshots, extract data, test web apps, or automate any browser task.
4
- allowed-tools: Skill, Bash, Read, Write, Edit, Agent
4
+ allowed-tools: Skill
5
5
  ---
6
6
 
7
7
  # Browser automation
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm
3
3
  description: Orchestrator dispatching PLAN→EXECUTE→EMIT→VERIFY→UPDATE-DOCS skill chain; spool-driven task execution with session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-cc
8
7
  - gm-gc
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-cc
3
3
  description: AI-native software engineering via skill-driven orchestration on cc; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-cc
8
7
  ---
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-codex
3
3
  description: AI-native software engineering via skill-driven orchestration on codex; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-codex
8
7
  ---
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-copilot-cli
3
3
  description: AI-native software engineering via skill-driven orchestration on copilot-cli; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-copilot-cli
8
7
  ---
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-cursor
3
3
  description: AI-native software engineering via skill-driven orchestration on cursor; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-cursor
8
7
  ---
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-gc
3
3
  description: AI-native software engineering via skill-driven orchestration on gc; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-gc
8
7
  ---
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-jetbrains
3
3
  description: AI-native software engineering via skill-driven orchestration on jetbrains; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-jetbrains
8
7
  ---
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-kilo
3
3
  description: AI-native software engineering via skill-driven orchestration on kilo; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-kilo
8
7
  ---
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-oc
3
3
  description: AI-native software engineering via skill-driven orchestration on oc; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-oc
8
7
  ---
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-vscode
3
3
  description: AI-native software engineering via skill-driven orchestration on vscode; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-vscode
8
7
  ---
@@ -1,8 +1,7 @@
1
1
  ---
2
2
  name: gm-zed
3
3
  description: AI-native software engineering via skill-driven orchestration on zed; bootstraps plugkit for task execution and session isolation
4
- allowed-tools:
5
- - Skill
4
+ allowed-tools: Skill
6
5
  compatible-platforms:
7
6
  - gm-zed
8
7
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: planning
3
3
  description: State machine orchestrator. Mutable discovery, PRD construction, and full PLAN→EXECUTE→EMIT→VERIFY→COMPLETE lifecycle. Invoke at session start and on any new unknown.
4
- allowed-tools: Skill, Bash, Write, Read, Agent
4
+ allowed-tools: Skill
5
5
  ---
6
6
 
7
7
  # Planning — PLAN phase
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: research
3
3
  description: Web research via parallel subagent fan-out. Use when a question needs the live web, spans multiple sources, requires comparison across vendors/papers/repos, or would saturate a single context window. Skip for one-page lookups answerable by a single WebFetch.
4
- allowed-tools: Skill, Bash, Agent, WebFetch, WebSearch, Read, Write
4
+ allowed-tools: Skill
5
5
  ---
6
6
 
7
7
  # Research
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: textprocessing
3
3
  description: The required surface for any text task whose correctness depends on understanding. Code does mechanics; this skill does meaning. Invoked via Agent(subagent_type='gm:textprocessing', model='haiku', ...).
4
- allowed-tools: Agent, Read, Write, Edit, Bash, Skill
4
+ allowed-tools: Skill
5
5
  ---
6
6
 
7
7
  # Textprocessing — Meaning goes through Haiku
@@ -49,3 +49,18 @@ git add README.md docs/index.html gm-starter/agents/gm.md
49
49
  git commit -m "docs: update documentation to reflect session changes"
50
50
  git push -u origin HEAD
51
51
  ```
52
+
53
+ ## Exit: browser cleanup
54
+
55
+ After docs push succeeds, close any browser sessions spawned during this or prior skill phases. Write a nodejs spool file calling rs-exec:
56
+
57
+ ```javascript
58
+ const sessionId = process.env.CLAUDE_SESSION_ID;
59
+ if (!sessionId) return;
60
+ const rs = require('rs-exec');
61
+ try {
62
+ rs.client().close_sessions_for(sessionId).catch(() => {});
63
+ } catch (e) {}
64
+ ```
65
+
66
+ Best-effort: session context or rs-exec unavailable → skip gracefully. No error thrown.