@poncho-ai/harness 0.20.13 → 0.21.0

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.
@@ -1,14 +1,15 @@
1
1
 
2
- > @poncho-ai/harness@0.20.13 build /Users/cesar/Dev/latitude/poncho-ai/packages/harness
3
- > tsup src/index.ts --format esm --dts
2
+ > @poncho-ai/harness@0.21.0 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
3
+ > node scripts/embed-docs.js && tsup src/index.ts --format esm --dts
4
4
 
5
+ [embed-docs] Generated poncho-docs.ts with 4 topics
5
6
  CLI Building entry: src/index.ts
6
7
  CLI Using tsconfig: tsconfig.json
7
8
  CLI tsup v8.5.1
8
9
  CLI Target: es2022
9
10
  ESM Build start
10
- ESM dist/index.js 202.20 KB
11
- ESM ⚡️ Build success in 133ms
11
+ ESM dist/index.js 245.12 KB
12
+ ESM ⚡️ Build success in 116ms
12
13
  DTS Build start
13
- DTS ⚡️ Build success in 3419ms
14
- DTS dist/index.d.ts 24.41 KB
14
+ DTS ⚡️ Build success in 6698ms
15
+ DTS dist/index.d.ts 24.72 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @poncho-ai/harness
2
2
 
3
+ ## 0.21.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#33](https://github.com/cesr/poncho-ai/pull/33) [`f611bb9`](https://github.com/cesr/poncho-ai/commit/f611bb9137142de923d90502ece597d5cd6a5d3e) Thanks [@cesr](https://github.com/cesr)! - Add built-in `poncho_docs` tool for on-demand documentation discovery
8
+
9
+ Agents in development mode can now call `poncho_docs` with a topic (`api`, `features`, `configuration`, `troubleshooting`) to load detailed framework documentation on demand. Docs are embedded at build time from `docs/*.md` at the repo root, keeping a single source of truth that stays in sync with releases.
10
+
11
+ ## 0.20.14
12
+
13
+ ### Patch Changes
14
+
15
+ - [`d997362`](https://github.com/cesr/poncho-ai/commit/d997362b114f6e9c5d95794cedff2c7675e32ca5) Thanks [@cesr](https://github.com/cesr)! - Add stealth mode to browser automation (enabled by default). Reduces bot-detection fingerprints with a realistic Chrome user-agent, navigator.webdriver override, window.chrome shim, fake plugins, WebGL patches, and anti-automation Chrome flags. Configurable via `stealth` and `userAgent` options in `poncho.config.js`.
16
+
3
17
  ## 0.20.13
4
18
 
5
19
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -357,6 +357,11 @@ interface PonchoConfig extends McpConfig {
357
357
  sessionName?: string;
358
358
  executablePath?: string;
359
359
  headless?: boolean;
360
+ /** Custom user-agent string. When stealth is enabled (default) a
361
+ * realistic Chrome UA is used automatically. */
362
+ userAgent?: string;
363
+ /** Reduce bot-detection fingerprints. Defaults to `true`. */
364
+ stealth?: boolean;
360
365
  };
361
366
  }
362
367
  declare const resolveStateConfig: (config: PonchoConfig | undefined) => StateConfig | undefined;
@@ -367,6 +372,7 @@ declare const createDefaultTools: (workingDir: string) => ToolDefinition[];
367
372
  declare const createWriteTool: (workingDir: string) => ToolDefinition;
368
373
  declare const createDeleteTool: (workingDir: string) => ToolDefinition;
369
374
  declare const createDeleteDirectoryTool: (workingDir: string) => ToolDefinition;
375
+ declare const ponchoDocsTool: ToolDefinition;
370
376
 
371
377
  declare const PONCHO_UPLOAD_SCHEME = "poncho-upload://";
372
378
  interface UploadStore {
@@ -689,4 +695,4 @@ declare class TelemetryEmitter {
689
695
 
690
696
  declare const createSubagentTools: (manager: SubagentManager, getConversationId: () => string | undefined, getOwnerId: () => string) => ToolDefinition[];
691
697
 
692
- export { type AgentFrontmatter, AgentHarness, type AgentIdentity, type AgentLimitsConfig, type AgentModelConfig, type BuiltInToolToggles, type Conversation, type ConversationState, type ConversationStore, type ConversationSummary, type CronJobConfig, type HarnessOptions, type HarnessRunOutput, InMemoryConversationStore, InMemoryStateStore, LatitudeCapture, type LatitudeCaptureConfig, LocalMcpBridge, LocalUploadStore, type MainMemory, type McpConfig, type MemoryConfig, type MemoryStore, type MessagingChannelConfig, type ModelProviderFactory, PONCHO_UPLOAD_SCHEME, type ParsedAgent, type PonchoConfig, type ProviderConfig, type RemoteMcpServerConfig, type RuntimeRenderContext, S3UploadStore, STORAGE_SCHEMA_VERSION, type SkillContextEntry, type SkillMetadata, type StateConfig, type StateProviderName, type StateStore, type StorageConfig, type SubagentManager, type SubagentResult, type SubagentSummary, type TelemetryConfig, TelemetryEmitter, type ToolAccess, type ToolCall, ToolDispatcher, type ToolExecutionResult, type UploadStore, type UploadsConfig, VercelBlobUploadStore, buildAgentDirectoryName, buildSkillContextWindow, createConversationStore, createDefaultTools, createDeleteDirectoryTool, createDeleteTool, createMemoryStore, createMemoryTools, createModelProvider, createSkillTools, createStateStore, createSubagentTools, createUploadStore, createWriteTool, deriveUploadKey, ensureAgentIdentity, generateAgentId, getAgentStoreDirectory, getModelContextWindow, getPonchoStoreRoot, jsonSchemaToZod, loadPonchoConfig, loadSkillContext, loadSkillInstructions, loadSkillMetadata, normalizeScriptPolicyPath, parseAgentFile, parseAgentMarkdown, readSkillResource, renderAgentPrompt, resolveAgentIdentity, resolveMemoryConfig, resolveSkillDirs, resolveStateConfig, slugifyStorageComponent };
698
+ export { type AgentFrontmatter, AgentHarness, type AgentIdentity, type AgentLimitsConfig, type AgentModelConfig, type BuiltInToolToggles, type Conversation, type ConversationState, type ConversationStore, type ConversationSummary, type CronJobConfig, type HarnessOptions, type HarnessRunOutput, InMemoryConversationStore, InMemoryStateStore, LatitudeCapture, type LatitudeCaptureConfig, LocalMcpBridge, LocalUploadStore, type MainMemory, type McpConfig, type MemoryConfig, type MemoryStore, type MessagingChannelConfig, type ModelProviderFactory, PONCHO_UPLOAD_SCHEME, type ParsedAgent, type PonchoConfig, type ProviderConfig, type RemoteMcpServerConfig, type RuntimeRenderContext, S3UploadStore, STORAGE_SCHEMA_VERSION, type SkillContextEntry, type SkillMetadata, type StateConfig, type StateProviderName, type StateStore, type StorageConfig, type SubagentManager, type SubagentResult, type SubagentSummary, type TelemetryConfig, TelemetryEmitter, type ToolAccess, type ToolCall, ToolDispatcher, type ToolExecutionResult, type UploadStore, type UploadsConfig, VercelBlobUploadStore, buildAgentDirectoryName, buildSkillContextWindow, createConversationStore, createDefaultTools, createDeleteDirectoryTool, createDeleteTool, createMemoryStore, createMemoryTools, createModelProvider, createSkillTools, createStateStore, createSubagentTools, createUploadStore, createWriteTool, deriveUploadKey, ensureAgentIdentity, generateAgentId, getAgentStoreDirectory, getModelContextWindow, getPonchoStoreRoot, jsonSchemaToZod, loadPonchoConfig, loadSkillContext, loadSkillInstructions, loadSkillMetadata, normalizeScriptPolicyPath, parseAgentFile, parseAgentMarkdown, ponchoDocsTool, readSkillResource, renderAgentPrompt, resolveAgentIdentity, resolveMemoryConfig, resolveSkillDirs, resolveStateConfig, slugifyStorageComponent };