@oisin-ee/oisinpi 0.10.0 → 0.10.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @oisin-ee/oisinpi
2
2
 
3
+ ## 0.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#35](https://github.com/oisin-ee/oisinpi/pull/35) [`a4554dc`](https://github.com/oisin-ee/oisinpi/commit/a4554dc2e64ba6e82fe5731992ba26c0c31c59b2) Thanks [@momo-momokaya](https://github.com/apps/momo-momokaya)! - A worker can call `dogsled done` after it closes its seeded todo leaf. Before, the todo gate blocked `mcp__dogsled__done`, so a finished worker could not report done.
8
+ - Updated dependencies [[`a4554dc`](https://github.com/oisin-ee/oisinpi/commit/a4554dc2e64ba6e82fe5731992ba26c0c31c59b2)]:
9
+ - @oisin-ee/pi-todo@0.10.2
10
+ - @oisin-ee/pi-guardrails@0.10.2
11
+ - @oisin-ee/pi-prewalk@0.10.2
12
+ - @oisin-ee/pi-tiers@0.10.2
13
+
14
+ ## 0.10.1
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [[`ac2e931`](https://github.com/oisin-ee/oisinpi/commit/ac2e931bf8d907eced3d075ebae2e9707713ea6f)]:
19
+ - @oisin-ee/pi-todo@0.10.1
20
+ - @oisin-ee/pi-guardrails@0.10.1
21
+ - @oisin-ee/pi-prewalk@0.10.1
22
+ - @oisin-ee/pi-tiers@0.10.1
23
+
3
24
  ## 0.10.0
4
25
 
5
26
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oisin-ee/pi-guardrails",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Agent guardrails for pi, Claude Code, and Codex: Git safety, no waiting, no typing into other agents, GitOps-only clusters.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oisin-ee/pi-prewalk",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "A one-shot planner-to-executor handoff for pi, with branch-backed Rust rules.",
5
5
  "keywords": [
6
6
  "pi-extension",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oisin-ee/pi-tiers",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Sticky virtual model tiers with quota-aware recovery for pi.",
5
5
  "keywords": [
6
6
  "pi-extension",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oisin-ee/pi-todo",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "A todo tool for pi with a Rust core: one active task, state on the session branch.",
5
5
  "keywords": [
6
6
  "pi-extension",
@@ -37,6 +37,7 @@ const controls = new Set([
37
37
  "mcp__dogsled__send",
38
38
  "mcp__dogsled__cancel",
39
39
  "mcp__dogsled__close",
40
+ "mcp__dogsled__done",
40
41
  "mcp__dogsled__stop",
41
42
  "mcp__dogsled__read",
42
43
  "mcp__dogsled__status",
@@ -339,6 +339,10 @@ export interface Unit {
339
339
  */
340
340
  attemptedRevision?: number;
341
341
  imported?: ImportedUnit;
342
+ /**
343
+ * Executions whose binding the owning lead released by closing the unit.
344
+ */
345
+ released?: ExecutionRef[];
342
346
  }
343
347
 
344
348
  /**
@@ -7,7 +7,7 @@ const workUnitGuidance =
7
7
  "Supply deliverable, repository-relative scope, acceptance, prerequisite IDs, and self or worker/profile assignment. " +
8
8
  "Use local keys for new prerequisites and the optional start selector for atomic creation and activation. " +
9
9
  "Use returned IDs after creation. Update drafts before start; only one complete self leaf executes locally. " +
10
- "Done requires concrete acceptance evidence; worker exit alone is not acceptance. " +
10
+ "The lead closes any open leaf with done and a short note, or with drop. " +
11
11
  "Keep content a short headline (aim under 60 characters, imperative, no trailing detail); " +
12
12
  "put context, approach, or acceptance detail in the optional description (one or two sentences).";
13
13
 
@@ -39,7 +39,7 @@ export default function piTodo(pi: TodoAPI): void {
39
39
  provider.register();
40
40
  registerGate(pi, provider);
41
41
  pi.registerTool({
42
- description: `Keep branch-local outcomes and executable contracts. Use returned IDs, not labels. Draft creation is pending. Start one complete self-assigned leaf; workers require their assigned profile through the executor. Update replaces pending contract fields and may set or clear an open item's description. Done requires acceptance evidence. Parents require explicit integration review after children close. ${workUnitGuidance}`,
42
+ description: `Keep branch-local outcomes and executable contracts. Use returned IDs, not labels. Draft creation is pending. Start one complete self-assigned leaf; workers require their assigned profile through the executor. Update replaces pending contract fields and may set or clear an open item's description. Done takes a short note. Parents require explicit integration review after children close. ${workUnitGuidance}`,
43
43
  async execute(_toolCallId, params, _signal, _onUpdate, ctx) {
44
44
  const result = provider.run(params, ctx);
45
45
  work.publish(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oisin-ee/oisinpi",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "Oisin's pi packages in one install: prewalk, todo, tiers, and guardrails.",
5
5
  "keywords": [
6
6
  "guardrails",
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "type": "module",
19
19
  "dependencies": {
20
- "@oisin-ee/pi-guardrails": "0.10.0",
21
- "@oisin-ee/pi-prewalk": "0.10.0",
22
- "@oisin-ee/pi-tiers": "0.10.0",
23
- "@oisin-ee/pi-todo": "0.10.0"
20
+ "@oisin-ee/pi-guardrails": "0.10.2",
21
+ "@oisin-ee/pi-prewalk": "0.10.2",
22
+ "@oisin-ee/pi-tiers": "0.10.2",
23
+ "@oisin-ee/pi-todo": "0.10.2"
24
24
  },
25
25
  "bundleDependencies": [
26
26
  "@oisin-ee/pi-guardrails",