Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/pages/sdk/agent-langgraph/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,16 @@ export const metadata = {
## Interfaces

- [AgentContext](interfaces/AgentContext.mdx)
- [FleetClient](interfaces/FleetClient.mdx)
- [LangGraphToolCall](interfaces/LangGraphToolCall.mdx)
- [OcToolNodeInput](interfaces/OcToolNodeInput.mdx)
- [OcToolNodeWrapped](interfaces/OcToolNodeWrapped.mdx)
- [PostActionResult](interfaces/PostActionResult.mdx)
- [StampToolCallInput](interfaces/StampToolCallInput.mdx)

## Functions

- [canonicalizeToolCall](functions/canonicalizeToolCall.mdx)
- [graphStateHash](functions/graphStateHash.mdx)
- [ocToolNode](functions/ocToolNode.mdx)
- [postActionToFleet](functions/postActionToFleet.mdx)
- [stampToolCall](functions/stampToolCall.mdx)
- [toolCallActionId](functions/toolCallActionId.mdx)
- [toolCallHash](functions/toolCallHash.mdx)
2 changes: 1 addition & 1 deletion src/pages/sdk/agent-langgraph/functions/ocToolNode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const metadata = {
function ocToolNode<TArgs, TResult>(input: OcToolNodeInput<TArgs, TResult>): OcToolNodeWrapped<TArgs, TResult>;
```

Defined in: [index.ts:197](https://github.com/orangecheck/oc-packages/blob/main/agent-langgraph/src/index.ts#L197)
Defined in: [index.ts:194](https://github.com/orangecheck/oc-packages/blob/main/agent-langgraph/src/index.ts#L194)

Wrap a LangGraph tool-node execute path so it produces an OC Agent
action envelope per call. The wrapper computes the graph_state_hash
Expand Down
29 changes: 0 additions & 29 deletions src/pages/sdk/agent-langgraph/functions/postActionToFleet.mdx

This file was deleted.

23 changes: 0 additions & 23 deletions src/pages/sdk/agent-langgraph/interfaces/FleetClient.mdx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Defined in: [index.ts:151](https://github.com/orangecheck/oc-packages/blob/main/

| Property | Type | Description | Defined in |
| ------ | ------ | ------ | ------ |
| &lt;a id="property-execute">&lt;/a> `execute` | (`args`: `TArgs`, `ctx`: [`AgentContext`](AgentContext.mdx) & \&#123; `callId`: `string`; `fleet?`: [`FleetClient`](FleetClient.mdx); `graphState`: `Record`\&lt;`string`, `unknown`\>; \&#125;) => `Promise`\&lt;\&#123; `action`: `ActionEnvelope`; `posted`: [`PostActionResult`](PostActionResult.mdx) \| `null`; `result`: `TResult`; \&#125;\> | The execute fn your LangGraph node calls. Receives args + a context object with the agent ref, delegation, callId, current graph state, and an optional `fleet` field that triggers fire-and-forget POST to fleet.ochk.io/api/actions after the underlying execute returns. | [index.ts:159](https://github.com/orangecheck/oc-packages/blob/main/agent-langgraph/src/index.ts#L159) |
| &lt;a id="property-execute">&lt;/a> `execute` | (`args`: `TArgs`, `ctx`: [`AgentContext`](AgentContext.mdx) & \&#123; `callId`: `string`; `graphState`: `Record`\&lt;`string`, `unknown`\>; \&#125;) => `Promise`\&lt;\&#123; `action`: `ActionEnvelope`; `result`: `TResult`; \&#125;\> | The execute fn your LangGraph node calls. Receives args + a context object with the agent ref, delegation, callId, current graph state, and the current graph state. | [index.ts:158](https://github.com/orangecheck/oc-packages/blob/main/agent-langgraph/src/index.ts#L158) |
| &lt;a id="property-verb">&lt;/a> `verb` | `string` | - | [index.ts:152](https://github.com/orangecheck/oc-packages/blob/main/agent-langgraph/src/index.ts#L152) |
22 changes: 0 additions & 22 deletions src/pages/sdk/agent-langgraph/interfaces/PostActionResult.mdx

This file was deleted.