@a5c-ai/babysitter-omp 5.0.1-staging.ae07dd8d → 5.0.1-staging.aedcb38c

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/bin/uninstall.cjs CHANGED
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- const path = require('path');
5
4
  const fs = require('fs');
6
5
  const shared = require('./install-shared');
7
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a5c-ai/babysitter-omp",
3
- "version": "5.0.1-staging.ae07dd8d",
3
+ "version": "5.0.1-staging.aedcb38c",
4
4
  "type": "module",
5
5
  "description": "Orchestrate complex, multi-step workflows with event-sourced state management, hook-based extensibility, and human-in-the-loop approval — oh-my-pi",
6
6
  "keywords": [
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "scripts": {
23
23
  "test": "node --test test/integration.test.js && node test/packaged-install.test.cjs",
24
- "sync:commands": "node scripts/sync-command-docs.cjs",
24
+ "validate:ci": "npm test",
25
25
  "deploy": "npm publish --access public",
26
26
  "deploy:staging": "npm publish --access public --tag staging"
27
27
  },
@@ -46,9 +46,11 @@
46
46
  },
47
47
  "repository": {
48
48
  "type": "git",
49
- "url": "https://github.com/a5c-ai/babysitter"
49
+ "url": "git+https://github.com/a5c-ai/babysitter.git",
50
+ "directory": "plugins/babysitter-omp"
50
51
  },
51
- "dependencies": {
52
- "@a5c-ai/babysitter-sdk": "5.0.1-staging.ae07dd8d"
52
+ "homepage": "https://github.com/a5c-ai/babysitter/tree/main/plugins/babysitter-omp#readme",
53
+ "bugs": {
54
+ "url": "https://github.com/a5c-ai/babysitter/issues"
53
55
  }
54
56
  }
package/versions.json CHANGED
@@ -1,3 +1,4 @@
1
1
  {
2
- "sdkVersion": "5.0.1-staging.ae07dd8d"
2
+ "sdkVersion": "5.0.1-staging.aedcb38c",
3
+ "extensionVersion": "5.0.0"
3
4
  }
@@ -1,55 +0,0 @@
1
- import type { ExtensionAPI } from "@oh-my-pi/pi-coding-agent";
2
-
3
- const COMMANDS = [
4
- "assimilate",
5
- "call",
6
- "cleanup",
7
- "contrib",
8
- "doctor",
9
- "forever",
10
- "help",
11
- "observe",
12
- "plan",
13
- "plugins",
14
- "project-install",
15
- "resume",
16
- "retrospect",
17
- "user-install",
18
- "yolo",
19
- ] as const;
20
-
21
- function toSkillPrompt(name: string, args: string): string {
22
- return `/skill:${name}${args ? ` ${args}` : ""}`;
23
- }
24
-
25
- export default function activate(pi: ExtensionAPI): void {
26
- const forwardBabysit = async (args: unknown) => {
27
- pi.sendUserMessage(toSkillPrompt("babysit", String(args ?? "").trim()));
28
- };
29
-
30
- pi.registerCommand("babysit", {
31
- description: "Load the Babysitter orchestration skill",
32
- handler: forwardBabysit,
33
- });
34
-
35
- pi.registerCommand("babysitter", {
36
- description: "Alias for /babysit",
37
- handler: forwardBabysit,
38
- });
39
-
40
- for (const name of COMMANDS) {
41
- const forward = async (args: unknown) => {
42
- pi.sendUserMessage(toSkillPrompt(name, String(args ?? "").trim()));
43
- };
44
-
45
- pi.registerCommand(name, {
46
- description: `Open the Babysitter ${name} skill`,
47
- handler: forward,
48
- });
49
-
50
- pi.registerCommand(`babysitter:${name}`, {
51
- description: `Alias for /${name}`,
52
- handler: forward,
53
- });
54
- }
55
- }