@fencyai/react 0.1.216 → 0.1.217
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/dist/hooks/useAgentTasks/index.d.ts.map +1 -1
- package/dist/hooks/useAgentTasks/useActionRuntime.d.ts +6 -2
- package/dist/hooks/useAgentTasks/useActionRuntime.d.ts.map +1 -1
- package/dist/index.js +1831 -1802
- package/dist/types/UseAgentTasksProps.d.ts +7 -10
- package/dist/types/UseAgentTasksProps.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -38,22 +38,19 @@ export interface UseAgentTasksProps {
|
|
|
38
38
|
*/
|
|
39
39
|
fetchAgentTaskFileDownloadClientToken?: FetchAgentTaskFileDownloadClientToken;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
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.
|
|
41
|
+
* Default actions for ExploreProduct tasks. A `createAgentTask` call can replace these
|
|
42
|
+
* for that turn. Handlers run in this browser; only the declarations travel.
|
|
45
43
|
*/
|
|
46
44
|
actions?: ActionMap;
|
|
47
45
|
/**
|
|
48
|
-
*
|
|
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.
|
|
46
|
+
* Default render-only components for ExploreProduct tasks. A `createAgentTask` call can
|
|
47
|
+
* replace these for that turn. `render` stays in this browser; only the declarations travel.
|
|
52
48
|
*/
|
|
53
49
|
components?: ComponentMap;
|
|
54
50
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
51
|
+
* Default snapshot for ExploreProduct tasks, evaluated per turn so it is never stale.
|
|
52
|
+
* A `createAgentTask` call can replace this for that turn. Also what `refreshContext`
|
|
53
|
+
* re-reads mid-turn when that turn did not pass its own context.
|
|
57
54
|
*/
|
|
58
55
|
context?: () => Record<string, unknown>;
|
|
59
56
|
/** Required to answer approval cards. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UseAgentTasksProps.d.ts","sourceRoot":"","sources":["../../src/types/UseAgentTasksProps.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,4BAA4B,EAC5B,cAAc,EACd,aAAa,EAChB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EACR,qBAAqB,EACrB,wCAAwC,EAC3C,MAAM,mBAAmB,CAAA;AAE1B;;;;;GAKG;AACH,MAAM,MAAM,+BAA+B,GAAG,MAAM,OAAO,CAAC;IACxD,WAAW,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AAEF;;;;;;;;GAQG;AACH,MAAM,MAAM,qCAAqC,GAAG,CAChD,eAAe,EAAE,MAAM,KACtB,OAAO,CAAC;IACT,WAAW,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AAEF,MAAM,WAAW,kBAAkB;IAC/B;;;;;;OAMG;IACH,+BAA+B,CAAC,EAAE,+BAA+B,CAAA;IACjE;;;OAGG;IACH,qCAAqC,CAAC,EAAE,qCAAqC,CAAA;IAC7E
|
|
1
|
+
{"version":3,"file":"UseAgentTasksProps.d.ts","sourceRoot":"","sources":["../../src/types/UseAgentTasksProps.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,4BAA4B,EAC5B,cAAc,EACd,aAAa,EAChB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EACR,qBAAqB,EACrB,wCAA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AAe,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAA;CACnD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fencyai/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.217",
|
|
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.
|
|
38
|
+
"@fencyai/js": "^0.1.217",
|
|
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.
|
|
55
|
+
"@fencyai/js": "^0.1.217",
|
|
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": "
|
|
62
|
+
"gitHead": "670de83583e3f1bc9873ae06e4784f32f7596a06"
|
|
63
63
|
}
|