@abstractframework/monitor-flow 0.1.2 → 0.1.6

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/README.md CHANGED
@@ -19,7 +19,7 @@ Declared in `monitor-flow/package.json`:
19
19
  ## Install
20
20
 
21
21
  - Workspace: add a dependency on `@abstractframework/monitor-flow`
22
- - npm (once published): `npm i @abstractframework/monitor-flow`
22
+ - npm: `npm i @abstractframework/monitor-flow`
23
23
 
24
24
  ## Expected data
25
25
 
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useMemo, useState } from "react";
3
3
  import "./agent_cycles.css";
4
- import { JsonViewer } from "./JsonViewer";
5
- import { Markdown } from "./Markdown";
4
+ import { JsonViewer } from "./JsonViewer.js";
5
+ import { Markdown } from "./Markdown.js";
6
6
  async function copy_text(text) {
7
7
  const value = String(text || "");
8
8
  if (!value)
@@ -1,4 +1,4 @@
1
- import type { TraceItem } from "./AgentCyclesPanel";
1
+ import type { TraceItem } from "./AgentCyclesPanel.js";
2
2
  export type StepRecordLike = {
3
3
  run_id?: string | null;
4
4
  step_id?: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"agent_cycles_adapter.d.ts","sourceRoot":"","sources":["../src/agent_cycles_adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAa,MAAM,oBAAoB,CAAC;AAE/D,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;IACzC,UAAU,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I;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,CAAC,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,CAAC;AAqEF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,gBAAgB,EAAE,EAAE,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,qBAAqB,CAmDrI"}
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { AgentCyclesPanel, type AgentCyclesPanelProps, type TraceItem, type TraceStep } from "./AgentCyclesPanel";
2
- export { JsonViewer } from "./JsonViewer";
3
- export { build_agent_trace, type AgentTraceBuildResult, type LedgerRecordItem, type StepRecordLike } from "./agent_cycles_adapter";
1
+ export { AgentCyclesPanel, type AgentCyclesPanelProps, type TraceItem, type TraceStep } from "./AgentCyclesPanel.js";
2
+ export { JsonViewer } from "./JsonViewer.js";
3
+ export { build_agent_trace, type AgentTraceBuildResult, type LedgerRecordItem, type StepRecordLike } from "./agent_cycles_adapter.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAClH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,KAAK,qBAAqB,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACrH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,KAAK,qBAAqB,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { AgentCyclesPanel } from "./AgentCyclesPanel";
2
- export { JsonViewer } from "./JsonViewer";
3
- export { build_agent_trace } from "./agent_cycles_adapter";
1
+ export { AgentCyclesPanel } from "./AgentCyclesPanel.js";
2
+ export { JsonViewer } from "./JsonViewer.js";
3
+ export { build_agent_trace } from "./agent_cycles_adapter.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abstractframework/monitor-flow",
3
- "version": "0.1.2",
3
+ "version": "0.1.6",
4
4
  "description": "Shared flow/agent monitoring UI components for AbstractFramework (used by AbstractFlow and AbstractObserver).",
5
5
  "type": "module",
6
6
  "author": "Laurent-Philippe Albou",
@@ -29,15 +29,14 @@
29
29
  "types": "./dist/index.d.ts",
30
30
  "import": "./dist/index.js"
31
31
  },
32
- "./agent_cycles.css": "./src/agent_cycles.css"
32
+ "./agent_cycles.css": "./dist/agent_cycles.css"
33
33
  },
34
34
  "files": [
35
35
  "dist",
36
- "src/agent_cycles.css",
37
36
  "README.md"
38
37
  ],
39
38
  "scripts": {
40
- "build": "tsc",
39
+ "build": "tsc && cp src/agent_cycles.css dist/agent_cycles.css",
41
40
  "prepublishOnly": "npm run build"
42
41
  },
43
42
  "peerDependencies": {
@@ -45,10 +44,10 @@
45
44
  "react-dom": "^18.0.0"
46
45
  },
47
46
  "devDependencies": {
48
- "react": "^18.0.0",
49
- "react-dom": "^18.0.0",
50
47
  "@types/react": "^18.2.48",
51
48
  "@types/react-dom": "^18.2.18",
49
+ "react": "^18.0.0",
50
+ "react-dom": "^18.0.0",
52
51
  "typescript": "^5.3.3"
53
52
  },
54
53
  "sideEffects": [
File without changes