@felan-ai/agent-core 0.2.0 → 0.3.1
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/NOTICE +4 -3
- package/README.md +6 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/NOTICE
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2026 Felan contributors
|
|
4
4
|
|
|
5
|
-
This package uses @earendil-works/pi-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
This package uses @earendil-works/pi-ai 0.83.0 and
|
|
6
|
+
@earendil-works/pi-coding-agent 0.83.0 from
|
|
7
|
+
https://github.com/earendil-works/pi, licensed under the MIT License.
|
|
8
|
+
Copyright (c) 2025 Mario Zechner.
|
package/README.md
CHANGED
|
@@ -27,6 +27,12 @@ feature extensions, and presentation listeners. `FelanExtensionAPI` adds only
|
|
|
27
27
|
the selected `AgentRuntime` and application agent directory to Pi's extension
|
|
28
28
|
API; feature-specific contracts remain in their owning extension packages.
|
|
29
29
|
|
|
30
|
+
Agent Core owns the exact Pi dependency versions used by its consumers. Its
|
|
31
|
+
public entry point exposes the Pi model, credential, streaming, session,
|
|
32
|
+
resource, skill, and tool symbols needed to compose Felan applications, so
|
|
33
|
+
consumers import those symbols from `@felan-ai/agent-core` without declaring
|
|
34
|
+
Pi packages directly.
|
|
35
|
+
|
|
30
36
|
Agent Core owns the runtime-neutral Felan base system prompt. Every composed
|
|
31
37
|
session uses this prompt; consumers extend it with `appendSystemPrompt` and
|
|
32
38
|
cannot replace it. Inline extensions can contribute model-facing behavior
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,9 @@ export type { CreateAgentCoreResourceLoaderOptions } from './resource-loader.js'
|
|
|
12
12
|
export { createRuntimeCodingTools } from './tools.js';
|
|
13
13
|
export { createAgentCoreSession, createAgentCoreSessionRuntime, createAgentCoreSessionRuntimeFactory, } from './session.js';
|
|
14
14
|
export type { AgentCoreSessionRuntimeFactoryOptions, AgentCoreSessionRuntimeFactoryRequest, AgentCoreSessionRuntimeOptionsFactory, CreateAgentCoreSessionOptions, StreamFunction, } from './session.js';
|
|
15
|
-
export { AgentSession, ModelRuntime, SessionManager, SettingsManager, createAgentSessionRuntime, } from '@earendil-works/pi-coding-agent';
|
|
16
|
-
export type { AgentSessionEvent, AgentSessionEventListener, AgentSessionRuntimeDiagnostic, AgentSessionServices, CreateAgentSessionOptions, CreateAgentSessionResult, CreateAgentSessionRuntimeFactory, CreateAgentSessionRuntimeResult, Extension, ExtensionAPI, ExtensionContext, ExtensionFactory, InlineExtension, LoadExtensionsResult, ResourceLoader, SessionStartEvent, Skill, ToolDefinition, } from '@earendil-works/pi-coding-agent';
|
|
15
|
+
export { AgentSession, CURRENT_SESSION_VERSION, DefaultResourceLoader, ModelRuntime, SessionManager, SettingsManager, createAgentSessionRuntime, defineTool, getAgentDir, loadSkillsFromDir, } from '@earendil-works/pi-coding-agent';
|
|
16
|
+
export type { AgentSessionEvent, AgentSessionEventListener, AgentSessionRuntimeDiagnostic, AgentSessionServices, CreateAgentSessionOptions, CreateAgentSessionResult, CreateAgentSessionRuntimeFactory, CreateAgentSessionRuntimeResult, Extension, ExtensionAPI, ExtensionContext, ExtensionFactory, InlineExtension, LoadExtensionsResult, ResourceDiagnostic, ResourceLoader, SessionContext, SessionStartEvent, Skill, ToolDefinition, } from '@earendil-works/pi-coding-agent';
|
|
17
|
+
export { InMemoryCredentialStore, createAssistantMessageEventStream, getSupportedThinkingLevels, isContextOverflow, lazyStream, uuidv7, } from '@earendil-works/pi-ai';
|
|
18
|
+
export type { Api, AssistantMessage, AssistantMessageEvent, AssistantMessageEventStream, Context, Credential, CredentialInfo, CredentialStore, Model, SimpleStreamOptions, } from '@earendil-works/pi-ai';
|
|
19
|
+
export { builtinProviders } from '@earendil-works/pi-ai/providers/all';
|
|
17
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,UAAU,GACX,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,YAAY,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,YAAY,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,YAAY,EACV,wBAAwB,EACxB,cAAc,EACd,iBAAiB,GAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACrE,YAAY,EAAE,oCAAoC,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,oCAAoC,GACrC,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,qCAAqC,EACrC,qCAAqC,EACrC,qCAAqC,EACrC,6BAA6B,EAC7B,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,eAAe,EACf,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB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AAkB,EAClB,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,KAAK,EACL,cAAc,GACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,uBAAuB,EACvB,iCAAiC,EACjC,0BAA0B,EAC1B,iBAAiB,EACjB,UAAU,EACV,MAAM,GACP,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EACV,GAAG,EACH,gBAAgB,EAChB,qBAAqB,EACrB,2BAA2B,EAC3B,OAAO,EACP,UAAU,EACV,cAAc,EACd,eAAe,EACf,KAAK,EACL,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -6,5 +6,7 @@ export { FELAN_BASE_SYSTEM_PROMPT } from './system-prompt.js';
|
|
|
6
6
|
export { createAgentCoreResourceLoader } from './resource-loader.js';
|
|
7
7
|
export { createRuntimeCodingTools } from './tools.js';
|
|
8
8
|
export { createAgentCoreSession, createAgentCoreSessionRuntime, createAgentCoreSessionRuntimeFactory, } from './session.js';
|
|
9
|
-
export { AgentSession, ModelRuntime, SessionManager, SettingsManager, createAgentSessionRuntime, } from '@earendil-works/pi-coding-agent';
|
|
9
|
+
export { AgentSession, CURRENT_SESSION_VERSION, DefaultResourceLoader, ModelRuntime, SessionManager, SettingsManager, createAgentSessionRuntime, defineTool, getAgentDir, loadSkillsFromDir, } from '@earendil-works/pi-coding-agent';
|
|
10
|
+
export { InMemoryCredentialStore, createAssistantMessageEventStream, getSupportedThinkingLevels, isContextOverflow, lazyStream, uuidv7, } from '@earendil-works/pi-ai';
|
|
11
|
+
export { builtinProviders } from '@earendil-works/pi-ai/providers/all';
|
|
10
12
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE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iCAAiC,EACjC,0BAA0B,EAC1B,iBAAiB,EACjB,UAAU,EACV,MAAM,GACP,MAAM,uBAAuB,CAAC;AAa/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@felan-ai/agent-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Portable Felan agent contracts and composition",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
+
"@earendil-works/pi-ai": "0.83.0",
|
|
28
29
|
"@earendil-works/pi-coding-agent": "0.83.0"
|
|
29
30
|
},
|
|
30
31
|
"publishConfig": {
|