@framers/agentos 0.2.9 → 0.2.11
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/ingest-router/IngestRouter.d.ts +2 -2
- package/dist/ingest-router/IngestRouter.js +2 -2
- package/dist/ingest-router/classifier.d.ts +2 -3
- package/dist/ingest-router/classifier.d.ts.map +1 -1
- package/dist/ingest-router/classifier.js +2 -3
- package/dist/ingest-router/classifier.js.map +1 -1
- package/dist/ingest-router/index.d.ts +3 -3
- package/dist/ingest-router/index.js +3 -3
- package/dist/ingest-router/select-strategy.d.ts +2 -2
- package/dist/ingest-router/select-strategy.js +2 -2
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* ingest classifier and the pure {@link selectIngestStrategy} into a
|
|
5
5
|
* single per-content routing call.
|
|
6
6
|
*
|
|
7
|
-
* Same shape as MemoryRouter (recall-stage) so
|
|
8
|
-
*
|
|
7
|
+
* Same shape as MemoryRouter (recall-stage) so Cognitive Pipeline can
|
|
8
|
+
* compose them uniformly. Decide-only and decide+dispatch
|
|
9
9
|
* flows are both supported.
|
|
10
10
|
*
|
|
11
11
|
* @module @framers/agentos/ingest-router/IngestRouter
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* ingest classifier and the pure {@link selectIngestStrategy} into a
|
|
5
5
|
* single per-content routing call.
|
|
6
6
|
*
|
|
7
|
-
* Same shape as MemoryRouter (recall-stage) so
|
|
8
|
-
*
|
|
7
|
+
* Same shape as MemoryRouter (recall-stage) so Cognitive Pipeline can
|
|
8
|
+
* compose them uniformly. Decide-only and decide+dispatch
|
|
9
9
|
* flows are both supported.
|
|
10
10
|
*
|
|
11
11
|
* @module @framers/agentos/ingest-router/IngestRouter
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* @description LLM-as-judge classifier that maps a piece of content to
|
|
4
4
|
* one of the six {@link IngestContentKind} values.
|
|
5
5
|
*
|
|
6
|
-
* Same shape as the memory-router classifier
|
|
7
|
-
*
|
|
8
|
-
* model.
|
|
6
|
+
* Same shape as the memory-router classifier, deliberately so Cognitive
|
|
7
|
+
* Pipeline can compose them with one mental model.
|
|
9
8
|
*
|
|
10
9
|
* @module @framers/agentos/ingest-router/classifier
|
|
11
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classifier.d.ts","sourceRoot":"","sources":["../../src/ingest-router/classifier.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"classifier.d.ts","sourceRoot":"","sources":["../../src/ingest-router/classifier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAM7B,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,CACJ,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC;AAMD,MAAM,WAAW,+BAA+B;IAC9C,4EAA4E;IAC5E,QAAQ,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CACrC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC;AAMD,eAAO,MAAM,+BAA+B,g3BAU4E,CAAC;AAEzH,eAAO,MAAM,uCAAuC,6gCA8BnC,CAAC;AAElB,eAAO,MAAM,yBAAyB,EAAE,iBAAwC,CAAC;AAEjF,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAcnE;AAED,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAY1E;AAMD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,GAAG,EAAE,oBAAoB,CAAC;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,qBAAa,mBAAoB,YAAW,iBAAiB;IAC3D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAuB;IAC3C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAS;gBAE7B,OAAO,EAAE,0BAA0B;IAMzC,QAAQ,CACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,sBAAsB,CAAC;CAqBnC"}
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
* @description LLM-as-judge classifier that maps a piece of content to
|
|
4
4
|
* one of the six {@link IngestContentKind} values.
|
|
5
5
|
*
|
|
6
|
-
* Same shape as the memory-router classifier
|
|
7
|
-
*
|
|
8
|
-
* model.
|
|
6
|
+
* Same shape as the memory-router classifier, deliberately so Cognitive
|
|
7
|
+
* Pipeline can compose them with one mental model.
|
|
9
8
|
*
|
|
10
9
|
* @module @framers/agentos/ingest-router/classifier
|
|
11
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classifier.js","sourceRoot":"","sources":["../../src/ingest-router/classifier.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"classifier.js","sourceRoot":"","sources":["../../src/ingest-router/classifier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EACL,oBAAoB,GAErB,MAAM,qBAAqB,CAAC;AAiD7B,+EAA+E;AAC/E,UAAU;AACV,+EAA+E;AAE/E,MAAM,CAAC,MAAM,+BAA+B,GAAG;;;;;;;;;;wHAUyE,CAAC;AAEzH,MAAM,CAAC,MAAM,uCAAuC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BtC,CAAC;AAElB,MAAM,CAAC,MAAM,yBAAyB,GAAsB,oBAAoB,CAAC;AAEjF,MAAM,UAAU,+BAA+B,CAAC,GAAW;IACzD,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC9B,IAAI,SAAS,GAAG,EAAE,CAAC;IACnB,KAAK,MAAM,EAAE,IAAI,KAAK,EAAE,CAAC;QACvB,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACzB,SAAS,GAAG,EAAE,CAAC;YACf,MAAM;QACR,CAAC;IACH,CAAC;IACD,IAAI,OAAO,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC7C,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,sDAAsD,EAAE,EAAE,CAAC,CAAC;IACtF,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;IAClD,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IAC5C,OAAO,OAAO,CAAC,IAAI,E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E,QAAQ,CAAC,SAAS;YAC7B,KAAK,EAAE,QAAQ,CAAC,KAAK;SACtB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* AgentOS IngestRouter Module
|
|
3
3
|
*
|
|
4
4
|
* Input-stage LLM-as-judge orchestrator for memory ingest. Sibling of
|
|
5
|
-
* {@link MemoryRouter} (recall-stage)
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* {@link MemoryRouter} (recall-stage) and {@link QueryRouter} (Q&A-stage).
|
|
6
|
+
* IngestRouter is the first stage in the agentos Cognitive Pipeline
|
|
7
|
+
* pattern; output-stage guardrails remain a separate downstream concern.
|
|
8
8
|
*
|
|
9
9
|
* Where MemoryRouter picks the recall architecture for a query,
|
|
10
10
|
* IngestRouter picks the storage architecture for incoming content. The
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* AgentOS IngestRouter Module
|
|
3
3
|
*
|
|
4
4
|
* Input-stage LLM-as-judge orchestrator for memory ingest. Sibling of
|
|
5
|
-
* {@link MemoryRouter} (recall-stage)
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* {@link MemoryRouter} (recall-stage) and {@link QueryRouter} (Q&A-stage).
|
|
6
|
+
* IngestRouter is the first stage in the agentos Cognitive Pipeline
|
|
7
|
+
* pattern; output-stage guardrails remain a separate downstream concern.
|
|
8
8
|
*
|
|
9
9
|
* Where MemoryRouter picks the recall architecture for a query,
|
|
10
10
|
* IngestRouter picks the storage architecture for incoming content. The
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* predicted content kind + routing table + budget policy.
|
|
5
5
|
*
|
|
6
6
|
* Stateless. Deterministic. No I/O. Same shape as
|
|
7
|
-
* {@link selectBackend} in memory-router so
|
|
8
|
-
*
|
|
7
|
+
* {@link selectBackend} in memory-router so Cognitive Pipeline can compose
|
|
8
|
+
* them uniformly.
|
|
9
9
|
*
|
|
10
10
|
* @module @framers/agentos/ingest-router/select-strategy
|
|
11
11
|
*/
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* predicted content kind + routing table + budget policy.
|
|
5
5
|
*
|
|
6
6
|
* Stateless. Deterministic. No I/O. Same shape as
|
|
7
|
-
* {@link selectBackend} in memory-router so
|
|
8
|
-
*
|
|
7
|
+
* {@link selectBackend} in memory-router so Cognitive Pipeline can compose
|
|
8
|
+
* them uniformly.
|
|
9
9
|
*
|
|
10
10
|
* @module @framers/agentos/ingest-router/select-strategy
|
|
11
11
|
*/
|