@fencyai/react 0.1.214 → 0.1.216

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.
Files changed (40) hide show
  1. package/dist/agent-task/AgentTaskProgress.d.ts +6 -1
  2. package/dist/agent-task/AgentTaskProgress.d.ts.map +1 -1
  3. package/dist/agent-task/AgentTaskProgressVerbose.d.ts +2 -1
  4. package/dist/agent-task/AgentTaskProgressVerbose.d.ts.map +1 -1
  5. package/dist/agent-task/ApprovalCard.d.ts +26 -0
  6. package/dist/agent-task/ApprovalCard.d.ts.map +1 -0
  7. package/dist/agent-task/ApprovalSet.d.ts +23 -0
  8. package/dist/agent-task/ApprovalSet.d.ts.map +1 -0
  9. package/dist/agent-task/data-types/ExploreMemoriesComposeHtmlReport.d.ts.map +1 -1
  10. package/dist/agent-task/data-types/ExploreMemoriesRunCode.d.ts.map +1 -1
  11. package/dist/agent-task/data-types/ExploreProductActionApproval.d.ts +17 -0
  12. package/dist/agent-task/data-types/ExploreProductActionApproval.d.ts.map +1 -0
  13. package/dist/agent-task/data-types/ExploreProductAutoAction.d.ts +21 -0
  14. package/dist/agent-task/data-types/ExploreProductAutoAction.d.ts.map +1 -0
  15. package/dist/agent-task/data-types/ExploreProductComponentRender.d.ts +15 -0
  16. package/dist/agent-task/data-types/ExploreProductComponentRender.d.ts.map +1 -0
  17. package/dist/agent-task/data-types/ExploreProductThinking.d.ts +17 -0
  18. package/dist/agent-task/data-types/ExploreProductThinking.d.ts.map +1 -0
  19. package/dist/agent-task/translations.d.ts +14 -0
  20. package/dist/agent-task/translations.d.ts.map +1 -1
  21. package/dist/assets/index.css +1 -1
  22. package/dist/hooks/useAgentTasks/index.d.ts.map +1 -1
  23. package/dist/hooks/useAgentTasks/manualActionResultQueue.d.ts +48 -0
  24. package/dist/hooks/useAgentTasks/manualActionResultQueue.d.ts.map +1 -0
  25. package/dist/hooks/useAgentTasks/useActionRuntime.d.ts +27 -0
  26. package/dist/hooks/useAgentTasks/useActionRuntime.d.ts.map +1 -0
  27. package/dist/index.d.ts +4 -0
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +2898 -1772
  30. package/dist/types/PendingApproval.d.ts +89 -0
  31. package/dist/types/PendingApproval.d.ts.map +1 -0
  32. package/dist/types/UseAgentTasks.d.ts +7 -0
  33. package/dist/types/UseAgentTasks.d.ts.map +1 -1
  34. package/dist/types/UseAgentTasksProps.d.ts +39 -1
  35. package/dist/types/UseAgentTasksProps.d.ts.map +1 -1
  36. package/dist/types/UseStream.d.ts +6 -1
  37. package/dist/types/UseStream.d.ts.map +1 -1
  38. package/dist/types/index.d.ts +1 -0
  39. package/dist/types/index.d.ts.map +1 -1
  40. package/package.json +4 -4
@@ -0,0 +1,89 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * One manual action awaiting the user's answer.
4
+ *
5
+ * Flat rather than nested under a turn, but carrying `turnId`, so an app can box same-turn cards
6
+ * together and add its own "approve all" that fans out into one `approve()` per card. Nothing groups
7
+ * requests on the wire, because only the app author knows whether three approvals are three
8
+ * decisions or one.
9
+ *
10
+ * @public
11
+ */
12
+ export interface PendingApproval {
13
+ actionCallId: string;
14
+ /** The agent task that offered it. */
15
+ turnId: string;
16
+ name: string;
17
+ input: unknown;
18
+ /**
19
+ * The card's line, recomputed from the local declaration — no approval message travels on the
20
+ * wire, so a redeployed string applies to an old request.
21
+ */
22
+ approvalMessage: string;
23
+ /**
24
+ * Optional React body from the local `approvalContent` declaration. Takes precedence over
25
+ * `approvalMessage` in the stock card. Also local-only — nothing travels on the wire.
26
+ */
27
+ approvalContent?: ReactNode;
28
+ /**
29
+ * False until the requesting turn's Completed progress event. ExploreProduct persists via
30
+ * POST /agent/complete immediately before publishing Completed, so enabling on that event means
31
+ * manualActionApprovalRequests are already on the server.
32
+ */
33
+ answerable: boolean;
34
+ /** True between the click and the result being recorded. */
35
+ inFlight: boolean;
36
+ /**
37
+ * Which button the user clicked, once the answer has been recorded successfully.
38
+ * Null while still awaiting an answer. Session-local — not rebuilt from fetchPendingApprovals.
39
+ */
40
+ decision: null | 'approved' | 'cancelled';
41
+ /** Bound closure — cannot answer the wrong call. */
42
+ approve: () => Promise<void>;
43
+ /** Bound closure. Posts `REJECTED`, and needs its own session like any other answer. */
44
+ cancel: () => Promise<void>;
45
+ /**
46
+ * Submit a whole turn: APPROVED for the given call ids, REJECTED for the rest on this turn.
47
+ * Kickoff runs once after the batch, not per row.
48
+ */
49
+ submitTurn: (approvedCallIds: string[]) => Promise<void>;
50
+ }
51
+ /**
52
+ * Returns manual actions still awaiting an answer, for rebuilding cards on mount.
53
+ *
54
+ * Your backend has everything it needs in one call: `GET /v1/agent-tasks?conversationId=` returns
55
+ * each turn's `successResponse.manualActionApprovalRequests` alongside its `manualActionResults`, and the offered
56
+ * ids with no recorded result are exactly the pending ones. Excluding recorded results is what makes
57
+ * a second device show the right thing after the first one answered.
58
+ *
59
+ * @public
60
+ */
61
+ export type PendingApprovalRestore = {
62
+ actionCallId: string;
63
+ turnId: string;
64
+ name: string;
65
+ input: unknown;
66
+ };
67
+ export type UnusedApproval = {
68
+ name: string;
69
+ input: unknown;
70
+ };
71
+ export type FetchPendingApprovals = () => Promise<PendingApprovalRestore[] | {
72
+ pending: PendingApprovalRestore[];
73
+ unusedApprovals?: UnusedApproval[];
74
+ }>;
75
+ /**
76
+ * Returns a client token for a **SubmitManualActionResult** session, scoped to one action call.
77
+ *
78
+ * @remarks
79
+ * Your backend should call `POST /v1/sessions` with
80
+ * `{ submitManualActionResult: { agentTaskId, actionCallId } }` and return `{ clientToken }`.
81
+ * Because the session names the action, this is also where per-action authorization belongs — your
82
+ * backend can see exactly what is being answered before it hands the page a token.
83
+ *
84
+ * @public
85
+ */
86
+ export type FetchSubmitManualActionResultClientToken = (agentTaskId: string, actionCallId: string) => Promise<{
87
+ clientToken: string;
88
+ }>;
89
+ //# sourceMappingURL=PendingApproval.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PendingAppro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CAAA;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,wCAAwC,GAAG,CACnD,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,KACnB,OAAO,CAAC;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAAA"}
@@ -1,8 +1,15 @@
1
1
  import { CreateAgentTaskParams, CreateAgentTaskResponse } from '@fencyai/js';
2
2
  import { AgentTask } from './AgentTask';
3
+ import { PendingApproval } from './PendingApproval';
3
4
  import { FetchAgentTaskFileDownloadClientToken, FetchCreateAgentTaskClientToken } from './UseAgentTasksProps';
4
5
  export interface UseAgentTasks {
5
6
  agentTasks: AgentTask[];
7
+ /**
8
+ * Manual actions awaiting an answer, across every turn this hook knows about.
9
+ *
10
+ * Added alongside `agentTasks` rather than replacing it — renaming would break every consumer.
11
+ */
12
+ pendingApprovals: PendingApproval[];
6
13
  createAgentTask: (params: CreateAgentTaskParams, options?: {
7
14
  loadingText?: string;
8
15
  /** Called as soon as the task is registered locally (after stream is created). Useful for parallel runs. */
@@ -1 +1 @@
1
- {"version":3,"file":"UseAgentTasks.d.ts","sourceRoot":"","sources":["../../src/types/UseAgentTasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EACR,qCAAqC,EACrC,+BAA+B,EAClC,MAAM,sBAAsB,CAAA;AAE7B,MAAM,WAAW,aAAa;IAC1B,UAAU,EAAE,SAAS,EAAE,CAAA;IACvB,eAAe,EAAE,CACb,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE;QACN,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,4GAA4G;QAC5G,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;QAC5C;;;;;;WAMG;QACH,+BAA+B,CAAC,EAAE,+BAA+B,CAAA;QACjE;;;;;;WAMG;QACH,qCAAqC,CAAC,EAAE,qCAAqC,CAAA;KAChF,KACA,OAAO,CAAC,uBAAuB,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,SAAS,CAAA;CACrB"}
1
+ {"version":3,"file":"UseAgentTasks.d.ts","sourceRoot":"","sources":["../../src/types/UseAgentTasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EACR,qCAAqC,EACrC,+BAA+B,EAClC,MAAM,sBAAsB,CAAA;AAE7B,MAAM,WAAW,aAAa;IAC1B,UAAU,EAAE,SAAS,EAAE,CAAA;IACvB;;;;OAIG;IACH,gBAAgB,EAAE,eAAe,EAAE,CAAA;IACnC,eAAe,EAAE,CACb,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE;QACN,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,4GAA4G;QAC5G,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;QAC5C;;;;;;WAMG;QACH,+BAA+B,CAAC,EAAE,+BAA+B,CAAA;QACjE;;;;;;WAMG;QACH,qCAAqC,CAAC,EAAE,qCAAqC,CAAA;KAChF,KACA,OAAO,CAAC,uBAAuB,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,SAAS,CAAA;CACrB"}
@@ -1,5 +1,7 @@
1
- import { AgentTaskProgressItemUpdated, StreamNotFound, StreamTimeout } from '@fencyai/js';
1
+ import { AgentTaskProgressItemUpdated, StreamNotFound, StreamTimeout, ActionMap, ComponentMap } from '@fencyai/js';
2
2
  import { StreamError } from './StreamError';
3
+ import { AgentTask } from './AgentTask';
4
+ import { FetchPendingApprovals, FetchSubmitManualActionResultClientToken } from './PendingApproval';
3
5
  /**
4
6
  * Returns a short-lived client token used to authorize the create-agent-task request to the Fency API.
5
7
  *
@@ -35,6 +37,42 @@ export interface UseAgentTasksProps {
35
37
  * created by this hook.
36
38
  */
37
39
  fetchAgentTaskFileDownloadClientToken?: FetchAgentTaskFileDownloadClientToken;
40
+ /**
41
+ * Actions this app exposes, for ExploreProduct tasks.
42
+ *
43
+ * On the hook rather than per call because they describe the app rather than the request. Their
44
+ * handlers run in this browser; only the declarations travel.
45
+ */
46
+ actions?: ActionMap;
47
+ /**
48
+ * Render-only components this app exposes, for ExploreProduct tasks.
49
+ *
50
+ * On the hook rather than per call because they describe the app rather than the request.
51
+ * `render` stays in this browser; only the declarations travel.
52
+ */
53
+ components?: ComponentMap;
54
+ /**
55
+ * A snapshot of the app, evaluated per turn so it is never stale. Also what `refreshContext`
56
+ * re-reads mid-turn, after an action has changed something.
57
+ */
58
+ context?: () => Record<string, unknown>;
59
+ /** Required to answer approval cards. */
60
+ fetchSubmitManualActionResultClientToken?: FetchSubmitManualActionResultClientToken;
61
+ /** Rebuilds cards on mount, after a reload or on a second device. */
62
+ fetchPendingApprovals?: FetchPendingApprovals;
63
+ /**
64
+ * Called when a manual action result could not be delivered even after retrying. A person is
65
+ * standing right there, so surfacing beats swallowing.
66
+ */
67
+ onManualActionResultFailed?: (failure: {
68
+ actionCallId: string;
69
+ message: string;
70
+ }) => void;
71
+ /**
72
+ * Called when a follow-up ExploreProduct task is registered after the user approved at least
73
+ * one manual action. Use this to append a turn and show the same busy state as Send.
74
+ */
75
+ onFollowUpTaskRegistered?: (task: AgentTask) => void;
38
76
  onAgentTaskProgressItemUpdated?: (streamData: AgentTaskProgressItemUpdated) => void;
39
77
  onAgentTaskCompleted?: (streamId: string) => void;
40
78
  onStreamError?: (event: StreamError) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"UseAgentTasksProps.d.ts","sourceRoot":"","sources":["../../src/types/UseAgentTasksProps.ts"],"names":[],"mappings":"AAAA,OAAO,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IAClD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAA;CACnD"}
@@ -1,7 +1,12 @@
1
1
  import { Stream } from '@fencyai/js';
2
2
  import { CreateStreamResponse } from './CreateStreamResponse';
3
3
  export interface UseStream {
4
- createStream: () => Promise<CreateStreamResponse>;
4
+ /**
5
+ * @param maxAge - How old a cached stream may be and still be reused, in ms. Pass `0` to force a
6
+ * fresh stream. A blocking task type must do so: a task started on a 290 s-old stream loses SSE
7
+ * partway through, and from then on every action call times out as "browser gone".
8
+ */
9
+ createStream: (maxAge?: number) => Promise<CreateStreamResponse>;
5
10
  stream: Stream | null;
6
11
  }
7
12
  //# sourceMappingURL=UseStream.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UseStream.d.ts","sourceRoot":"","sources":["../../src/types/UseStream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,MAAM,WAAW,SAAS;IACtB,YAAY,EAAE,MAAM,OAAO,CAAC,oBAAoB,CAAC,CAAA;IACjD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB"}
1
+ {"version":3,"file":"UseStream.d.ts","sourceRoot":"","sources":["../../src/types/UseStream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,YAAY,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAAA;IAChE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB"}
@@ -9,4 +9,5 @@ export * from './UseAgentTasks';
9
9
  export * from './UseAgentTasksProps';
10
10
  export * from './UseStream';
11
11
  export * from './UseStreamProps';
12
+ export type { PendingApproval, PendingApprovalRestore, UnusedApproval, FetchPendingApprovals, FetchSubmitManualActionResultClientToken, } from './PendingApproval';
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,YAAY,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AACjF,cAAc,wBAAwB,CAAA;AACtC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,YAAY,EACR,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,UAAU,GACb,MAAM,aAAa,CAAA;AACpB,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,YAAY,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AACjF,cAAc,wBAAwB,CAAA;AACtC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,YAAY,EACR,aAAa,EACb,cAAc,EACd,4BAA4B,EAC5B,UAAU,GACb,MAAM,aAAa,CAAA;AACpB,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,YAAY,EACR,eAAe,EACf,sBAAsB,EACtB,cAAc,EACd,qBAAqB,EACrB,wCAAwC,GAC3C,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fencyai/react",
3
- "version": "0.1.214",
3
+ "version": "0.1.216",
4
4
  "description": "React components and hooks for the Fency AI platform",
5
5
  "author": "staklau <steinaageklaussen@gmail.com>",
6
6
  "homepage": "",
@@ -35,7 +35,7 @@
35
35
  "docs": "npx -y serve etc/docs"
36
36
  },
37
37
  "devDependencies": {
38
- "@fencyai/js": "^0.1.214",
38
+ "@fencyai/js": "^0.1.216",
39
39
  "@microsoft/api-documenter": "^7.30.0",
40
40
  "@testing-library/react": "^16.3.2",
41
41
  "@types/jest": "^30.0.0",
@@ -52,12 +52,12 @@
52
52
  "vite-plugin-lib-inject-css": "^2.1.1"
53
53
  },
54
54
  "peerDependencies": {
55
- "@fencyai/js": "^0.1.214",
55
+ "@fencyai/js": "^0.1.216",
56
56
  "motion": "^11.15.0 || ^12.0.0",
57
57
  "react": ">=16.8.0",
58
58
  "react-markdown": "^10.1.0",
59
59
  "react-syntax-highlighter": "^16.1.0",
60
60
  "remark-gfm": "^4.0.1"
61
61
  },
62
- "gitHead": "1c66ceb881f1bb6e7eb8db060456837a8179464c"
62
+ "gitHead": "b0ace4cc53103af7f7a4e16c6718d9b9d48b2c73"
63
63
  }