@agimon-ai/doompi-plan 0.0.1-alpha.44 → 0.0.1-alpha.46

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,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/doompi-plan",
3
- "version": "0.0.1-alpha.44",
3
+ "version": "0.0.1-alpha.46",
4
4
  "description": "Reviewable Pi planning mode that removes file-editing tools and persists implementation plans.",
5
5
  "keywords": [
6
6
  "ai",
@@ -27,7 +27,8 @@
27
27
  },
28
28
  "files": [
29
29
  "dist",
30
- "web",
30
+ "src/web",
31
+ "src/exports/webClient.ts",
31
32
  "llms.txt",
32
33
  "src/prompts",
33
34
  "src/types/planApi.ts",
@@ -95,11 +96,11 @@
95
96
  "dependencies": {
96
97
  "@deepseek-ai/cordis": "4.0.1",
97
98
  "hono": "4.13.5",
98
- "@agimon-ai/doompi-config": "0.0.1-alpha.44",
99
- "@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.44",
100
- "@agimon-ai/doompi-telemetry": "0.0.1-alpha.44",
101
- "@agimon-ai/doompi-web-components": "0.0.1-alpha.5",
102
- "@agimon-ai/doompi-web-contracts": "0.0.1-alpha.7"
99
+ "@agimon-ai/doompi-config": "0.0.1-alpha.45",
100
+ "@agimon-ai/doompi-web-components": "0.0.1-alpha.6",
101
+ "@agimon-ai/doompi-web-contracts": "0.0.1-alpha.9",
102
+ "@agimon-ai/doompi-extension-contracts": "0.0.1-alpha.45",
103
+ "@agimon-ai/doompi-telemetry": "0.0.1-alpha.45"
103
104
  },
104
105
  "devDependencies": {
105
106
  "@earendil-works/pi-coding-agent": "0.84.4",
@@ -130,7 +131,7 @@
130
131
  "doompiWeb": {
131
132
  "pluginId": "plan",
132
133
  "channels": [],
133
- "client": "./web/index.ts"
134
+ "client": "./src/exports/webClient.ts"
134
135
  },
135
136
  "pi": {
136
137
  "extensions": [
@@ -140,7 +141,7 @@
140
141
  "scripts": {
141
142
  "build": "tsdown",
142
143
  "test": "vitest --run",
143
- "typecheck": "tsc --noEmit && tsc --noEmit -p web/tsconfig.json",
144
+ "typecheck": "tsc --noEmit && tsc --noEmit -p src/web/tsconfig.json",
144
145
  "lint": "oxlint . && oxfmt . --check",
145
146
  "fixcode": "oxlint . --fix && oxfmt ."
146
147
  }
@@ -0,0 +1 @@
1
+ export { webPlugin } from '../web/index.ts';
@@ -1,6 +1,6 @@
1
1
  import { Button } from '@agimon-ai/doompi-web-components';
2
2
  import type { WebPluginSlotProps } from '@agimon-ai/doompi-web-contracts';
3
- import { parsePlanStatus, PLAN_STATUS_KEY } from '../src/types/planApi.ts';
3
+ import { parsePlanStatus, PLAN_STATUS_KEY } from '../types/planApi.ts';
4
4
  import { planTab } from './PlanPanel.tsx';
5
5
 
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import { Button, CodeEditor, Markdown } from '@agimon-ai/doompi-web-components';
2
2
  import type { TransientTab, WebPluginSlotProps } from '@agimon-ai/doompi-web-contracts';
3
3
  import { useEffect, useState } from 'react';
4
- import { PLAN_STATUS_KEY, type PlanDetailView } from '../src/types/planApi.ts';
4
+ import { PLAN_STATUS_KEY, type PlanDetailView } from '../types/planApi.ts';
5
5
  import { fetchPlan, savePlan } from './planApi.ts';
6
6
 
7
7
  /**
@@ -43,6 +43,8 @@ export function PlanPanel({ sessionId, statuses, closeTransientTab }: WebPluginS
43
43
  useEffect(() => {
44
44
  if (sessionId === null) return;
45
45
  let cancelled = false;
46
+ // The fetch below is the external system; this marks it in flight before it starts.
47
+ // oxlint-disable-next-line react/set-state-in-effect
46
48
  setLoading(true);
47
49
  void fetchPlan(sessionId).then((result) => {
48
50
  if (cancelled) return;
@@ -1,5 +1,5 @@
1
1
  import { defineWebPlugin } from '@agimon-ai/doompi-web-contracts';
2
- import { PLAN_STATUS_KEY } from '../src/types/planApi.ts';
2
+ import { PLAN_STATUS_KEY } from '../types/planApi.ts';
3
3
  import { PlanActivitySection } from './PlanActivitySection.tsx';
4
4
  import { planSettingsSection } from './planSettings.ts';
5
5
  import { PlanToolMessage } from './PlanToolMessage.tsx';
@@ -1,4 +1,4 @@
1
- import { contentUrl, currentUrl, type PlanDetailView, type PlanSaveView } from '../src/types/planApi.ts';
1
+ import { contentUrl, currentUrl, type PlanDetailView, type PlanSaveView } from '../types/planApi.ts';
2
2
 
3
3
  /**
4
4
  * The page's half of this package's session API: the current plan, and the
@@ -1,5 +1,5 @@
1
1
  import type { SettingsSectionContribution } from '@agimon-ai/doompi-web-contracts';
2
- import { PLAN_CONFIG_SECTION_ID, PLAN_SETTING_SHAPES } from '../src/types/planSettings.ts';
2
+ import { PLAN_CONFIG_SECTION_ID, PLAN_SETTING_SHAPES } from '../types/planSettings.ts';
3
3
 
4
4
  /**
5
5
  * The planning settings, as the cockpit's settings page renders them.
@@ -19,5 +19,5 @@
19
19
  "forceConsistentCasingInFileNames": true,
20
20
  "types": ["node"]
21
21
  },
22
- "include": [".", "../src/types", "../tests/web"]
22
+ "include": [".", "../types", "../exports/webClient.ts", "../../tests/web"]
23
23
  }
File without changes
File without changes