mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
feat(chord): Chord v2 is the package's root
src/next is src (the main export), src/next-node is src/node with short subpaths (/http, /workers, /plugins, /plugins/runtime, /app, /surfaces, /web, /react, /tui, /tui/launcher); the foundations get /json and /watch; Chord v1 moves to src/old (/old, /old/node) until p2 runs on v2; tests and docs move likewise (test/, docs/, test/old, docs/old). Durable and env import the foundations from their subpaths.
This commit is contained in:
parent
0a4fad5489
commit
e9c0ff4d84
966 changed files with 2968 additions and 2804 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { createHost, memoryLinkPair, replicatedState } from "@earendil-works/chord";
|
||||
import { createHost, memoryLinkPair } from "@earendil-works/chord";
|
||||
import { createHost as createOldHost, replicatedState } from "@earendil-works/chord/old";
|
||||
import { createAssistantMessageEventStream, validateToolArguments } from "@earendil-works/pi-ai";
|
||||
import { complete, getModel, getProviders, streamSimple } from "@earendil-works/pi-ai/compat";
|
||||
import { Agent, streamProxy } from "@earendil-works/pi-agent-core";
|
||||
|
|
@ -27,6 +28,7 @@ console.log(
|
|||
agent.hasQueuedMessages(),
|
||||
typeof streamProxy,
|
||||
typeof createHost,
|
||||
typeof createOldHost,
|
||||
typeof memoryLinkPair,
|
||||
replicatedState({ browser: true }).value.browser,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue