@perstack/core 0.0.20 → 0.0.22
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/README.md +14 -1
- package/dist/src/index.d.ts +543 -194
- package/dist/src/index.js +64 -36
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,13 +47,26 @@ export const apiExpertSchema = expertSchema.omit({
|
|
|
47
47
|
- `Message`, `ToolCall`, `ToolResult` - Runtime execution types
|
|
48
48
|
|
|
49
49
|
2. **Domain Common Types**: Types that represent core domain concepts used throughout the system, for example:
|
|
50
|
+
- `Job` - Top-level execution unit containing Runs
|
|
51
|
+
- `Run` - Single Expert execution within a Job
|
|
50
52
|
- `Checkpoint` - Execution state snapshots
|
|
51
53
|
- `Usage` - Resource usage tracking
|
|
52
54
|
- `ProviderConfig` - LLM provider configurations
|
|
53
55
|
|
|
54
56
|
3. **Configuration Schemas**: System-wide configuration structures, for example:
|
|
55
57
|
- `PerstackToml` - Project configuration file schema
|
|
56
|
-
- `
|
|
58
|
+
- `JobSetting` - Job execution parameters
|
|
59
|
+
- `RunSetting` - Run execution parameters
|
|
60
|
+
|
|
61
|
+
### Execution Hierarchy
|
|
62
|
+
|
|
63
|
+
| Schema | Description |
|
|
64
|
+
| ------------ | --------------------------------------------------- |
|
|
65
|
+
| `Job` | Top-level execution unit. Contains all Runs. |
|
|
66
|
+
| `Run` | Single Expert execution within a Job. |
|
|
67
|
+
| `Checkpoint` | Snapshot at step end within a Run. |
|
|
68
|
+
|
|
69
|
+
For the full hierarchy and execution model, see [State Management](https://docs.perstack.ai/using-experts/state-management).
|
|
57
70
|
|
|
58
71
|
### What Core Should NOT Contain
|
|
59
72
|
|