@soddong/agentic-runtime 0.16.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.
- package/.tbls.yml +103 -0
- package/CHANGELOG.md +229 -0
- package/README.md +707 -0
- package/dist/agent-router.d.ts +39 -0
- package/dist/agent-router.d.ts.map +1 -0
- package/dist/agent-router.js +175 -0
- package/dist/agent-router.js.map +1 -0
- package/dist/bundle-installer.d.ts +25 -0
- package/dist/bundle-installer.d.ts.map +1 -0
- package/dist/bundle-installer.js +149 -0
- package/dist/bundle-installer.js.map +1 -0
- package/dist/bundle-registry.d.ts +30 -0
- package/dist/bundle-registry.d.ts.map +1 -0
- package/dist/bundle-registry.js +102 -0
- package/dist/bundle-registry.js.map +1 -0
- package/dist/claude-code-adapter.d.ts +27 -0
- package/dist/claude-code-adapter.d.ts.map +1 -0
- package/dist/claude-code-adapter.js +177 -0
- package/dist/claude-code-adapter.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +1731 -0
- package/dist/cli.js.map +1 -0
- package/dist/codex-adapter.d.ts +23 -0
- package/dist/codex-adapter.d.ts.map +1 -0
- package/dist/codex-adapter.js +264 -0
- package/dist/codex-adapter.js.map +1 -0
- package/dist/database.d.ts +22 -0
- package/dist/database.d.ts.map +1 -0
- package/dist/database.js +184 -0
- package/dist/database.js.map +1 -0
- package/dist/execution-projects.d.ts +71 -0
- package/dist/execution-projects.d.ts.map +1 -0
- package/dist/execution-projects.js +333 -0
- package/dist/execution-projects.js.map +1 -0
- package/dist/execution-query.d.ts +73 -0
- package/dist/execution-query.d.ts.map +1 -0
- package/dist/execution-query.js +370 -0
- package/dist/execution-query.js.map +1 -0
- package/dist/execution.d.ts +47 -0
- package/dist/execution.d.ts.map +1 -0
- package/dist/execution.js +153 -0
- package/dist/execution.js.map +1 -0
- package/dist/hook-command.d.ts +3 -0
- package/dist/hook-command.d.ts.map +1 -0
- package/dist/hook-command.js +13 -0
- package/dist/hook-command.js.map +1 -0
- package/dist/hook-record.d.ts +16 -0
- package/dist/hook-record.d.ts.map +1 -0
- package/dist/hook-record.js +427 -0
- package/dist/hook-record.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/kiro-adapter.d.ts +38 -0
- package/dist/kiro-adapter.d.ts.map +1 -0
- package/dist/kiro-adapter.js +374 -0
- package/dist/kiro-adapter.js.map +1 -0
- package/dist/module-registry.d.ts +21 -0
- package/dist/module-registry.d.ts.map +1 -0
- package/dist/module-registry.js +75 -0
- package/dist/module-registry.js.map +1 -0
- package/dist/runtime-info.d.ts +8 -0
- package/dist/runtime-info.d.ts.map +1 -0
- package/dist/runtime-info.js +15 -0
- package/dist/runtime-info.js.map +1 -0
- package/dist/seed-importer.d.ts +77 -0
- package/dist/seed-importer.d.ts.map +1 -0
- package/dist/seed-importer.js +570 -0
- package/dist/seed-importer.js.map +1 -0
- package/docs/build.md +129 -0
- package/docs/configuration.md +61 -0
- package/docs/delivery.md +90 -0
- package/docs/operations.md +112 -0
- package/docs/publishing.md +196 -0
- package/docs/schema/generated/README.md +31 -0
- package/docs/schema/generated/agentic_execution_logs.md +90 -0
- package/docs/schema/generated/agentic_execution_logs.svg +52 -0
- package/docs/schema/generated/agentic_execution_outputs.md +85 -0
- package/docs/schema/generated/agentic_execution_outputs.svg +52 -0
- package/docs/schema/generated/agentic_execution_project_activities.md +83 -0
- package/docs/schema/generated/agentic_execution_project_activities.svg +71 -0
- package/docs/schema/generated/agentic_execution_project_stages.md +69 -0
- package/docs/schema/generated/agentic_execution_project_stages.svg +71 -0
- package/docs/schema/generated/agentic_execution_projects.md +82 -0
- package/docs/schema/generated/agentic_execution_projects.svg +92 -0
- package/docs/schema/generated/agentic_execution_runs.md +111 -0
- package/docs/schema/generated/agentic_execution_runs.svg +92 -0
- package/docs/schema/generated/agentic_project_bundles.md +106 -0
- package/docs/schema/generated/agentic_project_bundles.svg +91 -0
- package/docs/schema/generated/agentic_project_modules.md +77 -0
- package/docs/schema/generated/agentic_project_modules.svg +49 -0
- package/docs/schema/generated/agentic_runtime_metadata.md +62 -0
- package/docs/schema/generated/agentic_runtime_metadata.svg +28 -0
- package/docs/schema/generated/agentic_schema_migrations.md +65 -0
- package/docs/schema/generated/agentic_schema_migrations.svg +32 -0
- package/docs/schema/generated/agentic_seed_import_items.md +85 -0
- package/docs/schema/generated/agentic_seed_import_items.svg +47 -0
- package/docs/schema/generated/agentic_seed_import_runs.md +103 -0
- package/docs/schema/generated/agentic_seed_import_runs.svg +68 -0
- package/docs/schema/generated/agentic_user_requests.md +66 -0
- package/docs/schema/generated/agentic_user_requests.svg +52 -0
- package/docs/schema/generated/schema.json +1976 -0
- package/docs/schema/generated/schema.mmd +167 -0
- package/docs/schema/generated/schema.svg +266 -0
- package/docs/schema/migrations.md +163 -0
- package/docs/usage.md +774 -0
- package/package.json +32 -0
- package/src/database/migrations/0001_runtime_base.sql +231 -0
- package/src/database/migrations/0002_runtime_bundles.sql +61 -0
- package/src/database/migrations/0003_runtime_seed_imports.sql +121 -0
- package/src/database/migrations/0004_runtime_seed_apply_status.sql +76 -0
- package/src/database/migrations/0005_runtime_execution_projects.sql +92 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# agentic_execution_projects
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
|
|
5
|
+
<details>
|
|
6
|
+
<summary><strong>Table Definition</strong></summary>
|
|
7
|
+
|
|
8
|
+
```sql
|
|
9
|
+
CREATE TABLE agentic_execution_projects (
|
|
10
|
+
execution_project_id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
11
|
+
project_code VARCHAR(128) NOT NULL UNIQUE,
|
|
12
|
+
project_name VARCHAR(256) NOT NULL,
|
|
13
|
+
project_status_code VARCHAR(32) NOT NULL DEFAULT 'planned'
|
|
14
|
+
CHECK (project_status_code IN ('planned', 'in_progress', 'completed', 'blocked', 'skipped')),
|
|
15
|
+
bundle_id INTEGER NOT NULL,
|
|
16
|
+
package_name VARCHAR(214) NOT NULL,
|
|
17
|
+
package_version VARCHAR(64) NOT NULL,
|
|
18
|
+
bundle_code VARCHAR(128) NOT NULL,
|
|
19
|
+
bundle_version VARCHAR(64) NOT NULL,
|
|
20
|
+
methodology_code VARCHAR(128),
|
|
21
|
+
lifecycle_code VARCHAR(128),
|
|
22
|
+
phase_code VARCHAR(128),
|
|
23
|
+
process_code VARCHAR(128),
|
|
24
|
+
metadata_json JSON NOT NULL DEFAULT '{}'
|
|
25
|
+
CHECK (json_valid(metadata_json)),
|
|
26
|
+
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
27
|
+
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
28
|
+
|
|
29
|
+
FOREIGN KEY (bundle_id)
|
|
30
|
+
REFERENCES agentic_project_bundles (bundle_id)
|
|
31
|
+
ON DELETE RESTRICT
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
</details>
|
|
36
|
+
|
|
37
|
+
## Columns
|
|
38
|
+
|
|
39
|
+
| Name | Type | Default | Nullable | Children | Parents |
|
|
40
|
+
| -------------------- | ------------ | ----------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
|
|
41
|
+
| execution_project_id | INTEGER | | true | [agentic_execution_project_stages](agentic_execution_project_stages.md) [agentic_execution_project_activities](agentic_execution_project_activities.md) | |
|
|
42
|
+
| project_code | VARCHAR(128) | | false | | |
|
|
43
|
+
| project_name | VARCHAR(256) | | false | | |
|
|
44
|
+
| project_status_code | VARCHAR(32) | 'planned' | false | | |
|
|
45
|
+
| bundle_id | INTEGER | | false | | [agentic_project_bundles](agentic_project_bundles.md) |
|
|
46
|
+
| package_name | VARCHAR(214) | | false | | |
|
|
47
|
+
| package_version | VARCHAR(64) | | false | | |
|
|
48
|
+
| bundle_code | VARCHAR(128) | | false | | |
|
|
49
|
+
| bundle_version | VARCHAR(64) | | false | | |
|
|
50
|
+
| methodology_code | VARCHAR(128) | | true | | |
|
|
51
|
+
| lifecycle_code | VARCHAR(128) | | true | | |
|
|
52
|
+
| phase_code | VARCHAR(128) | | true | | |
|
|
53
|
+
| process_code | VARCHAR(128) | | true | | |
|
|
54
|
+
| metadata_json | JSON | '{}' | false | | |
|
|
55
|
+
| created_at | DATETIME | CURRENT_TIMESTAMP | false | | |
|
|
56
|
+
| updated_at | DATETIME | CURRENT_TIMESTAMP | false | | |
|
|
57
|
+
|
|
58
|
+
## Constraints
|
|
59
|
+
|
|
60
|
+
| Name | Type | Definition |
|
|
61
|
+
| --------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
62
|
+
| execution_project_id | PRIMARY KEY | PRIMARY KEY (execution_project_id) |
|
|
63
|
+
| - (Foreign key ID: 0) | FOREIGN KEY | FOREIGN KEY (bundle_id) REFERENCES agentic_project_bundles (bundle_id) ON UPDATE NO ACTION ON DELETE RESTRICT MATCH NONE |
|
|
64
|
+
| sqlite_autoindex_agentic_execution_projects_1 | UNIQUE | UNIQUE (project_code) |
|
|
65
|
+
| - | CHECK | CHECK (project_status_code IN ('planned', 'in_progress', 'completed', 'blocked', 'skipped')) |
|
|
66
|
+
| - | CHECK | CHECK (json_valid(metadata_json)) |
|
|
67
|
+
|
|
68
|
+
## Indexes
|
|
69
|
+
|
|
70
|
+
| Name | Definition |
|
|
71
|
+
| --------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
|
|
72
|
+
| idx_agentic_execution_projects_status | CREATE INDEX idx_agentic_execution_projects_status<br /> ON agentic_execution_projects (project_status_code) |
|
|
73
|
+
| idx_agentic_execution_projects_bundle | CREATE INDEX idx_agentic_execution_projects_bundle<br /> ON agentic_execution_projects (bundle_code, bundle_version) |
|
|
74
|
+
| sqlite_autoindex_agentic_execution_projects_1 | UNIQUE (project_code) |
|
|
75
|
+
|
|
76
|
+
## Relations
|
|
77
|
+
|
|
78
|
+

|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
> Generated by [tbls](https://github.com/k1LoW/tbls)
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
3
|
+
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
+
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
|
5
|
+
-->
|
|
6
|
+
<!-- Title: agentic_execution_projects Pages: 1 -->
|
|
7
|
+
<svg width="872pt" height="637pt"
|
|
8
|
+
viewBox="0.00 0.00 872.05 636.80" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
9
|
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 632.8)">
|
|
10
|
+
<title>agentic_execution_projects</title>
|
|
11
|
+
<polygon fill="white" stroke="none" points="-4,4 -4,-632.8 868.05,-632.8 868.05,4 -4,4"/>
|
|
12
|
+
<!-- agentic_execution_projects -->
|
|
13
|
+
<g id="node1" class="node">
|
|
14
|
+
<title>agentic_execution_projects</title>
|
|
15
|
+
<polygon fill="#efefef" stroke="none" points="286.19,-327.4 286.19,-363 566.37,-363 566.37,-327.4 286.19,-327.4"/>
|
|
16
|
+
<polygon fill="none" stroke="black" points="286.19,-327.4 286.19,-363 566.37,-363 566.37,-327.4 286.19,-327.4"/>
|
|
17
|
+
<text text-anchor="start" x="293.19" y="-340.8" font-family="Arial Bold" font-size="18.00">agentic_execution_projects</text>
|
|
18
|
+
<text text-anchor="start" x="490.11" y="-340.8" font-family="Arial" font-size="14.00"> </text>
|
|
19
|
+
<text text-anchor="start" x="521.23" y="-340.8" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
20
|
+
<polygon fill="none" stroke="black" points="286.19,-296.6 286.19,-327.4 566.37,-327.4 566.37,-296.6 286.19,-296.6"/>
|
|
21
|
+
<text text-anchor="start" x="293.19" y="-308.8" font-family="Arial" font-size="14.00">execution_project_id </text>
|
|
22
|
+
<text text-anchor="start" x="425.5" y="-308.8" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
23
|
+
<polygon fill="none" stroke="black" points="286.19,-265.8 286.19,-296.6 566.37,-296.6 566.37,-265.8 286.19,-265.8"/>
|
|
24
|
+
<text text-anchor="start" x="293.19" y="-278" font-family="Arial" font-size="14.00">bundle_id </text>
|
|
25
|
+
<text text-anchor="start" x="357.81" y="-278" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
26
|
+
<polygon fill="none" stroke="black" stroke-width="3" points="284.69,-264.3 284.69,-364.5 567.87,-364.5 567.87,-264.3 284.69,-264.3"/>
|
|
27
|
+
</g>
|
|
28
|
+
<!-- agentic_project_bundles -->
|
|
29
|
+
<g id="node4" class="node">
|
|
30
|
+
<title>agentic_project_bundles</title>
|
|
31
|
+
<polygon fill="#efefef" stroke="none" points="296.68,-104.8 296.68,-140.4 555.88,-140.4 555.88,-104.8 296.68,-104.8"/>
|
|
32
|
+
<polygon fill="none" stroke="black" points="296.68,-104.8 296.68,-140.4 555.88,-140.4 555.88,-104.8 296.68,-104.8"/>
|
|
33
|
+
<text text-anchor="start" x="303.68" y="-118.2" font-family="Arial Bold" font-size="18.00">agentic_project_bundles</text>
|
|
34
|
+
<text text-anchor="start" x="479.62" y="-118.2" font-family="Arial" font-size="14.00"> </text>
|
|
35
|
+
<text text-anchor="start" x="510.74" y="-118.2" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
36
|
+
<polygon fill="none" stroke="black" points="296.68,-74 296.68,-104.8 555.88,-104.8 555.88,-74 296.68,-74"/>
|
|
37
|
+
<text text-anchor="start" x="303.68" y="-86.2" font-family="Arial" font-size="14.00">bundle_id </text>
|
|
38
|
+
<text text-anchor="start" x="368.3" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
39
|
+
<polygon fill="none" stroke="black" points="296.68,-43.2 296.68,-74 555.88,-74 555.88,-43.2 296.68,-43.2"/>
|
|
40
|
+
<text text-anchor="start" x="303.68" y="-55.4" font-family="Arial" font-size="14.00">package_name </text>
|
|
41
|
+
<text text-anchor="start" x="403.31" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[VARCHAR(214)]</text>
|
|
42
|
+
</g>
|
|
43
|
+
<!-- agentic_execution_projects->agentic_project_bundles -->
|
|
44
|
+
<g id="edge3" class="edge">
|
|
45
|
+
<title>agentic_execution_projects:bundle_id->agentic_project_bundles:bundle_id</title>
|
|
46
|
+
<path fill="none" stroke="black" d="M427.12,-254.64C436.63,-201.55 524.46,-239.65 555.88,-183.6 576.35,-147.08 598.75,-89.4 556.88,-89.4"/>
|
|
47
|
+
<polygon fill="black" stroke="black" points="427.13,-254.5 421.82,-264.1 426.69,-259.82 426.33,-264.13 426.33,-264.13 426.33,-264.13 426.69,-259.82 430.79,-264.84 427.13,-254.5"/>
|
|
48
|
+
</g>
|
|
49
|
+
<!-- agentic_execution_project_stages -->
|
|
50
|
+
<g id="node2" class="node">
|
|
51
|
+
<title>agentic_execution_project_stages</title>
|
|
52
|
+
<polygon fill="#efefef" stroke="none" points="43.2,-550 43.2,-585.6 369.36,-585.6 369.36,-550 43.2,-550"/>
|
|
53
|
+
<polygon fill="none" stroke="black" points="43.2,-550 43.2,-585.6 369.36,-585.6 369.36,-550 43.2,-550"/>
|
|
54
|
+
<text text-anchor="start" x="50.2" y="-563.4" font-family="Arial Bold" font-size="18.00">agentic_execution_project_stages</text>
|
|
55
|
+
<text text-anchor="start" x="293.1" y="-563.4" font-family="Arial" font-size="14.00"> </text>
|
|
56
|
+
<text text-anchor="start" x="324.22" y="-563.4" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
57
|
+
<polygon fill="none" stroke="black" points="43.2,-519.2 43.2,-550 369.36,-550 369.36,-519.2 43.2,-519.2"/>
|
|
58
|
+
<text text-anchor="start" x="50.2" y="-531.4" font-family="Arial" font-size="14.00">execution_project_stage_id </text>
|
|
59
|
+
<text text-anchor="start" x="224.54" y="-531.4" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
60
|
+
<polygon fill="none" stroke="black" points="43.2,-488.4 43.2,-519.2 369.36,-519.2 369.36,-488.4 43.2,-488.4"/>
|
|
61
|
+
<text text-anchor="start" x="50.2" y="-500.6" font-family="Arial" font-size="14.00">execution_project_id </text>
|
|
62
|
+
<text text-anchor="start" x="182.51" y="-500.6" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
63
|
+
</g>
|
|
64
|
+
<!-- agentic_execution_project_stages->agentic_execution_projects -->
|
|
65
|
+
<g id="edge1" class="edge">
|
|
66
|
+
<title>agentic_execution_project_stages:execution_project_id->agentic_execution_projects:execution_project_id</title>
|
|
67
|
+
<path fill="none" stroke="black" d="M380.22,-501.05C392.23,-492.09 381.47,-463.3 369.36,-445.2 346.96,-411.72 308.48,-442.75 286.19,-409.2 262.29,-373.21 241.99,-312 285.19,-312"/>
|
|
68
|
+
<polygon fill="black" stroke="black" points="380.31,-501.02 369.47,-499.38 375.17,-502.46 371,-503.62 371,-503.62 371,-503.62 375.17,-502.46 371.89,-508.04 380.31,-501.02"/>
|
|
69
|
+
</g>
|
|
70
|
+
<!-- agentic_execution_project_activities -->
|
|
71
|
+
<g id="node3" class="node">
|
|
72
|
+
<title>agentic_execution_project_activities</title>
|
|
73
|
+
<polygon fill="#efefef" stroke="none" points="473.71,-550 473.71,-585.6 820.85,-585.6 820.85,-550 473.71,-550"/>
|
|
74
|
+
<polygon fill="none" stroke="black" points="473.71,-550 473.71,-585.6 820.85,-585.6 820.85,-550 473.71,-550"/>
|
|
75
|
+
<text text-anchor="start" x="480.71" y="-563.4" font-family="Arial Bold" font-size="18.00">agentic_execution_project_activities</text>
|
|
76
|
+
<text text-anchor="start" x="744.6" y="-563.4" font-family="Arial" font-size="14.00"> </text>
|
|
77
|
+
<text text-anchor="start" x="775.71" y="-563.4" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
78
|
+
<polygon fill="none" stroke="black" points="473.71,-519.2 473.71,-550 820.85,-550 820.85,-519.2 473.71,-519.2"/>
|
|
79
|
+
<text text-anchor="start" x="480.71" y="-531.4" font-family="Arial" font-size="14.00">execution_project_id </text>
|
|
80
|
+
<text text-anchor="start" x="613.02" y="-531.4" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
81
|
+
<polygon fill="none" stroke="black" points="473.71,-488.4 473.71,-519.2 820.85,-519.2 820.85,-488.4 473.71,-488.4"/>
|
|
82
|
+
<text text-anchor="start" x="480.71" y="-500.6" font-family="Arial" font-size="14.00">execution_project_stage_id </text>
|
|
83
|
+
<text text-anchor="start" x="655.05" y="-500.6" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
84
|
+
</g>
|
|
85
|
+
<!-- agentic_execution_project_activities->agentic_execution_projects -->
|
|
86
|
+
<g id="edge2" class="edge">
|
|
87
|
+
<title>agentic_execution_project_activities:execution_project_id->agentic_execution_projects:execution_project_id</title>
|
|
88
|
+
<path fill="none" stroke="black" d="M462.67,-533.05C436.55,-523.75 453.29,-474.68 473.71,-445.2 498.86,-408.88 541.23,-445.53 566.37,-409.2 590.95,-373.67 610.57,-312 567.37,-312"/>
|
|
89
|
+
<polygon fill="black" stroke="black" points="462.49,-533.02 471.69,-539 467.76,-533.84 472.04,-534.5 472.04,-534.5 472.04,-534.5 467.76,-533.84 473.06,-530.1 462.49,-533.02"/>
|
|
90
|
+
</g>
|
|
91
|
+
</g>
|
|
92
|
+
</svg>
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# agentic_execution_runs
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
|
|
5
|
+
사용자 지시 또는 runtime command의 실행 단위를 관리한다.
|
|
6
|
+
|
|
7
|
+
<details>
|
|
8
|
+
<summary><strong>Table Definition</strong></summary>
|
|
9
|
+
|
|
10
|
+
```sql
|
|
11
|
+
CREATE TABLE agentic_execution_runs (
|
|
12
|
+
-- 실행 식별자
|
|
13
|
+
run_id CHAR(36) PRIMARY KEY
|
|
14
|
+
CHECK (length(run_id) = 36),
|
|
15
|
+
|
|
16
|
+
-- 사용자 지시 식별자. 명령형 실행은 없을 수 있다.
|
|
17
|
+
request_id CHAR(36)
|
|
18
|
+
CHECK (request_id IS NULL OR length(request_id) = 36),
|
|
19
|
+
|
|
20
|
+
-- 실행을 담당한 package 이름
|
|
21
|
+
package_name VARCHAR(214),
|
|
22
|
+
|
|
23
|
+
-- 실행된 command 또는 agent 식별자
|
|
24
|
+
command_name VARCHAR(128),
|
|
25
|
+
|
|
26
|
+
-- 실행 종류
|
|
27
|
+
run_type VARCHAR(32) NOT NULL
|
|
28
|
+
CHECK (run_type IN ('command', 'agent', 'workflow', 'migration', 'validation')),
|
|
29
|
+
|
|
30
|
+
-- 실행 상태
|
|
31
|
+
run_status VARCHAR(32) NOT NULL DEFAULT 'pending'
|
|
32
|
+
CHECK (run_status IN ('pending', 'running', 'succeeded', 'failed', 'cancelled')),
|
|
33
|
+
|
|
34
|
+
-- 실행 시작 시각
|
|
35
|
+
started_at DATETIME,
|
|
36
|
+
|
|
37
|
+
-- 실행 종료 시각
|
|
38
|
+
ended_at DATETIME,
|
|
39
|
+
|
|
40
|
+
-- 실행 소요 시간
|
|
41
|
+
duration_ms INTEGER
|
|
42
|
+
CHECK (duration_ms IS NULL OR duration_ms >= 0),
|
|
43
|
+
|
|
44
|
+
-- process exit code
|
|
45
|
+
exit_code INTEGER,
|
|
46
|
+
|
|
47
|
+
-- 실패 또는 취소 사유
|
|
48
|
+
error_message TEXT,
|
|
49
|
+
|
|
50
|
+
-- 실행 option snapshot
|
|
51
|
+
run_options_json JSON
|
|
52
|
+
CHECK (run_options_json IS NULL OR json_valid(run_options_json)),
|
|
53
|
+
|
|
54
|
+
-- 실행 생성 시각
|
|
55
|
+
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
56
|
+
|
|
57
|
+
FOREIGN KEY (request_id)
|
|
58
|
+
REFERENCES agentic_user_requests (request_id)
|
|
59
|
+
ON DELETE SET NULL
|
|
60
|
+
)
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
</details>
|
|
64
|
+
|
|
65
|
+
## Columns
|
|
66
|
+
|
|
67
|
+
| Name | Type | Default | Nullable | Children | Parents | Comment |
|
|
68
|
+
| ---------------- | ------------ | ----------------- | -------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- | -------------------------------- |
|
|
69
|
+
| run_id | CHAR(36) | | true | [agentic_execution_logs](agentic_execution_logs.md) [agentic_execution_outputs](agentic_execution_outputs.md) | | 실행 식별자 |
|
|
70
|
+
| request_id | CHAR(36) | | true | | [agentic_user_requests](agentic_user_requests.md) | 사용자 지시 식별자 |
|
|
71
|
+
| package_name | VARCHAR(214) | | true | | | 실행을 담당한 package 이름 |
|
|
72
|
+
| command_name | VARCHAR(128) | | true | | | 실행된 command 또는 agent 식별자 |
|
|
73
|
+
| run_type | VARCHAR(32) | | false | | | 실행 종류 |
|
|
74
|
+
| run_status | VARCHAR(32) | 'pending' | false | | | 실행 상태 |
|
|
75
|
+
| started_at | DATETIME | | true | | | 실행 시작 시각 |
|
|
76
|
+
| ended_at | DATETIME | | true | | | 실행 종료 시각 |
|
|
77
|
+
| duration_ms | INTEGER | | true | | | 실행 소요 시간 |
|
|
78
|
+
| exit_code | INTEGER | | true | | | process exit code |
|
|
79
|
+
| error_message | TEXT | | true | | | 실패 또는 취소 사유 |
|
|
80
|
+
| run_options_json | JSON | | true | | | 실행 option snapshot |
|
|
81
|
+
| created_at | DATETIME | CURRENT_TIMESTAMP | false | | | 실행 생성 시각 |
|
|
82
|
+
|
|
83
|
+
## Constraints
|
|
84
|
+
|
|
85
|
+
| Name | Type | Definition |
|
|
86
|
+
| ----------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
87
|
+
| run_id | PRIMARY KEY | PRIMARY KEY (run_id) |
|
|
88
|
+
| - (Foreign key ID: 0) | FOREIGN KEY | FOREIGN KEY (request_id) REFERENCES agentic_user_requests (request_id) ON UPDATE NO ACTION ON DELETE SET NULL MATCH NONE |
|
|
89
|
+
| sqlite_autoindex_agentic_execution_runs_1 | PRIMARY KEY | PRIMARY KEY (run_id) |
|
|
90
|
+
| - | CHECK | CHECK (length(run_id) = 36) |
|
|
91
|
+
| - | CHECK | CHECK (request_id IS NULL OR length(request_id) = 36) |
|
|
92
|
+
| - | CHECK | CHECK (run_type IN ('command', 'agent', 'workflow', 'migration', 'validation')) |
|
|
93
|
+
| - | CHECK | CHECK (run_status IN ('pending', 'running', 'succeeded', 'failed', 'cancelled')) |
|
|
94
|
+
| - | CHECK | CHECK (duration_ms IS NULL OR duration_ms >= 0) |
|
|
95
|
+
| - | CHECK | CHECK (run_options_json IS NULL OR json_valid(run_options_json)) |
|
|
96
|
+
|
|
97
|
+
## Indexes
|
|
98
|
+
|
|
99
|
+
| Name | Definition |
|
|
100
|
+
| ----------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
|
101
|
+
| idx_agentic_execution_runs_status | CREATE INDEX idx_agentic_execution_runs_status<br /> ON agentic_execution_runs (run_status) |
|
|
102
|
+
| idx_agentic_execution_runs_request_id | CREATE INDEX idx_agentic_execution_runs_request_id<br /> ON agentic_execution_runs (request_id) |
|
|
103
|
+
| sqlite_autoindex_agentic_execution_runs_1 | PRIMARY KEY (run_id) |
|
|
104
|
+
|
|
105
|
+
## Relations
|
|
106
|
+
|
|
107
|
+

|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
> Generated by [tbls](https://github.com/k1LoW/tbls)
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
3
|
+
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
+
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
|
5
|
+
-->
|
|
6
|
+
<!-- Title: agentic_execution_runs Pages: 1 -->
|
|
7
|
+
<svg width="762pt" height="614pt"
|
|
8
|
+
viewBox="0.00 0.00 761.64 613.89" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
9
|
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 609.89)">
|
|
10
|
+
<title>agentic_execution_runs</title>
|
|
11
|
+
<polygon fill="white" stroke="none" points="-4,4 -4,-609.89 757.64,-609.89 757.64,4 -4,4"/>
|
|
12
|
+
<!-- agentic_execution_runs -->
|
|
13
|
+
<g id="node1" class="node">
|
|
14
|
+
<title>agentic_execution_runs</title>
|
|
15
|
+
<polygon fill="#efefef" stroke="none" points="203.52,-314.49 203.52,-360.49 555.16,-360.49 555.16,-314.49 203.52,-314.49"/>
|
|
16
|
+
<polygon fill="none" stroke="black" points="203.52,-314.49 203.52,-360.49 555.16,-360.49 555.16,-314.49 203.52,-314.49"/>
|
|
17
|
+
<text text-anchor="start" x="259.24" y="-338.29" font-family="Arial Bold" font-size="18.00">agentic_execution_runs</text>
|
|
18
|
+
<text text-anchor="start" x="430.18" y="-338.29" font-family="Arial" font-size="14.00"> </text>
|
|
19
|
+
<text text-anchor="start" x="461.3" y="-338.29" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
20
|
+
<text text-anchor="start" x="210.52" y="-323.89" font-family="Arial" font-size="14.00" fill="#333333">사용자 지시 또는 runtime command의 실행 단위를 관리한다.</text>
|
|
21
|
+
<polygon fill="none" stroke="black" points="203.52,-283.69 203.52,-314.49 555.16,-314.49 555.16,-283.69 203.52,-283.69"/>
|
|
22
|
+
<text text-anchor="start" x="210.52" y="-295.89" font-family="Arial" font-size="14.00">run_id </text>
|
|
23
|
+
<text text-anchor="start" x="253.32" y="-295.89" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
24
|
+
<text text-anchor="start" x="325.67" y="-295.89" font-family="Arial" font-size="14.00"> 실행 식별자</text>
|
|
25
|
+
<polygon fill="none" stroke="black" points="203.52,-252.89 203.52,-283.69 555.16,-283.69 555.16,-252.89 203.52,-252.89"/>
|
|
26
|
+
<text text-anchor="start" x="210.52" y="-265.09" font-family="Arial" font-size="14.00">request_id </text>
|
|
27
|
+
<text text-anchor="start" x="279.79" y="-265.09" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
28
|
+
<text text-anchor="start" x="352.13" y="-265.09" font-family="Arial" font-size="14.00"> 사용자 지시 식별자</text>
|
|
29
|
+
<polygon fill="none" stroke="black" stroke-width="3" points="202.02,-251.39 202.02,-361.99 556.66,-361.99 556.66,-251.39 202.02,-251.39"/>
|
|
30
|
+
</g>
|
|
31
|
+
<!-- agentic_user_requests -->
|
|
32
|
+
<g id="node4" class="node">
|
|
33
|
+
<title>agentic_user_requests</title>
|
|
34
|
+
<polygon fill="#efefef" stroke="none" points="249.02,-81.49 249.02,-127.49 509.65,-127.49 509.65,-81.49 249.02,-81.49"/>
|
|
35
|
+
<polygon fill="none" stroke="black" points="249.02,-81.49 249.02,-127.49 509.65,-127.49 509.65,-81.49 249.02,-81.49"/>
|
|
36
|
+
<text text-anchor="start" x="265.24" y="-105.29" font-family="Arial Bold" font-size="18.00">agentic_user_requests</text>
|
|
37
|
+
<text text-anchor="start" x="424.18" y="-105.29" font-family="Arial" font-size="14.00"> </text>
|
|
38
|
+
<text text-anchor="start" x="455.3" y="-105.29" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
39
|
+
<text text-anchor="start" x="268.48" y="-90.89" font-family="Arial" font-size="14.00" fill="#333333">사용자 지시 원문과 접수 정보를 관리한다.</text>
|
|
40
|
+
<polygon fill="none" stroke="black" points="249.02,-50.69 249.02,-81.49 509.65,-81.49 509.65,-50.69 249.02,-50.69"/>
|
|
41
|
+
<text text-anchor="start" x="256.02" y="-62.89" font-family="Arial" font-size="14.00">request_id </text>
|
|
42
|
+
<text text-anchor="start" x="325.29" y="-62.89" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
43
|
+
<text text-anchor="start" x="397.63" y="-62.89" font-family="Arial" font-size="14.00"> 사용자 지시 식별자</text>
|
|
44
|
+
</g>
|
|
45
|
+
<!-- agentic_execution_runs->agentic_user_requests -->
|
|
46
|
+
<g id="edge3" class="edge">
|
|
47
|
+
<title>agentic_execution_runs:request_id->agentic_user_requests:request_id</title>
|
|
48
|
+
<path fill="none" stroke="black" d="M380.03,-241.78C390.17,-172.99 509.12,-239.45 552.85,-170.69 581.48,-125.69 590.46,-88.51 552.85,-50.69 498.48,4 379.34,27.43 379.34,-49.69"/>
|
|
49
|
+
<polygon fill="black" stroke="black" points="380.04,-241.58 374.87,-251.25 379.68,-246.9 379.38,-251.22 379.38,-251.22 379.38,-251.22 379.68,-246.9 383.85,-251.87 380.04,-241.58"/>
|
|
50
|
+
</g>
|
|
51
|
+
<!-- agentic_execution_logs -->
|
|
52
|
+
<g id="node2" class="node">
|
|
53
|
+
<title>agentic_execution_logs</title>
|
|
54
|
+
<polygon fill="#efefef" stroke="none" points="43.2,-516.69 43.2,-562.69 329.48,-562.69 329.48,-516.69 43.2,-516.69"/>
|
|
55
|
+
<polygon fill="none" stroke="black" points="43.2,-516.69 43.2,-562.69 329.48,-562.69 329.48,-516.69 43.2,-516.69"/>
|
|
56
|
+
<text text-anchor="start" x="66.74" y="-540.49" font-family="Arial Bold" font-size="18.00">agentic_execution_logs</text>
|
|
57
|
+
<text text-anchor="start" x="236.68" y="-540.49" font-family="Arial" font-size="14.00"> </text>
|
|
58
|
+
<text text-anchor="start" x="267.8" y="-540.49" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
59
|
+
<text text-anchor="start" x="50.2" y="-526.09" font-family="Arial" font-size="14.00" fill="#333333">실행 중 발생한 로그와 이벤트를 순서대로 관리한다.</text>
|
|
60
|
+
<polygon fill="none" stroke="black" points="43.2,-485.89 43.2,-516.69 329.48,-516.69 329.48,-485.89 43.2,-485.89"/>
|
|
61
|
+
<text text-anchor="start" x="50.2" y="-498.09" font-family="Arial" font-size="14.00">run_id </text>
|
|
62
|
+
<text text-anchor="start" x="93.01" y="-498.09" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
63
|
+
<text text-anchor="start" x="165.35" y="-498.09" font-family="Arial" font-size="14.00"> 실행 식별자</text>
|
|
64
|
+
</g>
|
|
65
|
+
<!-- agentic_execution_logs->agentic_execution_runs -->
|
|
66
|
+
<g id="edge1" class="edge">
|
|
67
|
+
<title>agentic_execution_logs:run_id->agentic_execution_runs:run_id</title>
|
|
68
|
+
<path fill="none" stroke="black" d="M340.43,-498.47C352.73,-489.31 342.74,-459.96 329.48,-442.69 294.02,-396.51 238.79,-453.01 203.52,-406.69 174.54,-368.64 154.69,-299.09 202.52,-299.09"/>
|
|
69
|
+
<polygon fill="black" stroke="black" points="340.42,-498.48 329.57,-496.87 335.29,-499.93 331.12,-501.11 331.12,-501.11 331.12,-501.11 335.29,-499.93 332.02,-505.53 340.42,-498.48"/>
|
|
70
|
+
</g>
|
|
71
|
+
<!-- agentic_execution_outputs -->
|
|
72
|
+
<g id="node3" class="node">
|
|
73
|
+
<title>agentic_execution_outputs</title>
|
|
74
|
+
<polygon fill="#efefef" stroke="none" points="434.24,-516.69 434.24,-562.69 710.44,-562.69 710.44,-516.69 434.24,-516.69"/>
|
|
75
|
+
<polygon fill="none" stroke="black" points="434.24,-516.69 434.24,-562.69 710.44,-562.69 710.44,-516.69 434.24,-516.69"/>
|
|
76
|
+
<text text-anchor="start" x="441.24" y="-540.49" font-family="Arial Bold" font-size="18.00">agentic_execution_outputs</text>
|
|
77
|
+
<text text-anchor="start" x="634.18" y="-540.49" font-family="Arial" font-size="14.00"> </text>
|
|
78
|
+
<text text-anchor="start" x="665.3" y="-540.49" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
79
|
+
<text text-anchor="start" x="482.88" y="-526.09" font-family="Arial" font-size="14.00" fill="#333333">실행 결과를 구조화하여 관리한다.</text>
|
|
80
|
+
<polygon fill="none" stroke="black" points="434.24,-485.89 434.24,-516.69 710.44,-516.69 710.44,-485.89 434.24,-485.89"/>
|
|
81
|
+
<text text-anchor="start" x="441.24" y="-498.09" font-family="Arial" font-size="14.00">run_id </text>
|
|
82
|
+
<text text-anchor="start" x="484.04" y="-498.09" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
83
|
+
<text text-anchor="start" x="556.39" y="-498.09" font-family="Arial" font-size="14.00"> 실행 식별자</text>
|
|
84
|
+
</g>
|
|
85
|
+
<!-- agentic_execution_outputs->agentic_execution_runs -->
|
|
86
|
+
<g id="edge2" class="edge">
|
|
87
|
+
<title>agentic_execution_outputs:run_id->agentic_execution_runs:run_id</title>
|
|
88
|
+
<path fill="none" stroke="black" d="M423.29,-498.48C411.02,-489.33 421.07,-460.04 434.24,-442.69 468.14,-398.03 521.43,-451.49 555.16,-406.69 583.92,-368.49 603.98,-299.09 556.16,-299.09"/>
|
|
89
|
+
<polygon fill="black" stroke="black" points="423.29,-498.48 431.69,-505.53 428.43,-499.93 432.59,-501.11 432.59,-501.11 432.59,-501.11 428.43,-499.93 434.14,-496.87 423.29,-498.48"/>
|
|
90
|
+
</g>
|
|
91
|
+
</g>
|
|
92
|
+
</svg>
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# agentic_project_bundles
|
|
2
|
+
|
|
3
|
+
## Description
|
|
4
|
+
|
|
5
|
+
<details>
|
|
6
|
+
<summary><strong>Table Definition</strong></summary>
|
|
7
|
+
|
|
8
|
+
```sql
|
|
9
|
+
CREATE TABLE agentic_project_bundles (
|
|
10
|
+
-- bundle 설치 식별자
|
|
11
|
+
bundle_id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
12
|
+
|
|
13
|
+
-- bundle을 제공한 Agentic package 이름
|
|
14
|
+
package_name VARCHAR(214) NOT NULL,
|
|
15
|
+
|
|
16
|
+
-- bundle 설치 시점의 package version
|
|
17
|
+
package_version VARCHAR(64) NOT NULL,
|
|
18
|
+
|
|
19
|
+
-- package 내부 bundle 식별자
|
|
20
|
+
bundle_code VARCHAR(128) NOT NULL,
|
|
21
|
+
|
|
22
|
+
-- bundle 자체 version
|
|
23
|
+
bundle_version VARCHAR(64) NOT NULL,
|
|
24
|
+
|
|
25
|
+
-- bundle이 제공하는 methodology code
|
|
26
|
+
methodology_code VARCHAR(128),
|
|
27
|
+
|
|
28
|
+
-- 사용자 표시용 bundle 이름
|
|
29
|
+
display_name VARCHAR(255),
|
|
30
|
+
|
|
31
|
+
-- bundle 설명
|
|
32
|
+
description TEXT,
|
|
33
|
+
|
|
34
|
+
-- bundle manifest snapshot
|
|
35
|
+
bundle_manifest_json JSON NOT NULL
|
|
36
|
+
CHECK (json_valid(bundle_manifest_json)),
|
|
37
|
+
|
|
38
|
+
-- bundle validation result snapshot
|
|
39
|
+
validation_result_json JSON NOT NULL
|
|
40
|
+
CHECK (json_valid(validation_result_json)),
|
|
41
|
+
|
|
42
|
+
-- 프로젝트 내 활성화 여부. 1은 활성, 0은 비활성
|
|
43
|
+
is_enabled INTEGER NOT NULL DEFAULT 1
|
|
44
|
+
CHECK (is_enabled IN (0, 1)),
|
|
45
|
+
|
|
46
|
+
-- 프로젝트에 bundle이 설치된 시각
|
|
47
|
+
installed_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
48
|
+
|
|
49
|
+
-- 설치 상태 최종 수정 시각
|
|
50
|
+
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
51
|
+
|
|
52
|
+
UNIQUE (package_name, bundle_code),
|
|
53
|
+
|
|
54
|
+
FOREIGN KEY (package_name)
|
|
55
|
+
REFERENCES agentic_project_modules (package_name)
|
|
56
|
+
ON DELETE CASCADE
|
|
57
|
+
)
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
</details>
|
|
61
|
+
|
|
62
|
+
## Columns
|
|
63
|
+
|
|
64
|
+
| Name | Type | Default | Nullable | Children | Parents |
|
|
65
|
+
| ---------------------- | ------------ | ----------------- | -------- | ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
|
|
66
|
+
| bundle_id | INTEGER | | true | [agentic_seed_import_runs](agentic_seed_import_runs.md) [agentic_execution_projects](agentic_execution_projects.md) | |
|
|
67
|
+
| package_name | VARCHAR(214) | | false | | [agentic_project_modules](agentic_project_modules.md) |
|
|
68
|
+
| package_version | VARCHAR(64) | | false | | |
|
|
69
|
+
| bundle_code | VARCHAR(128) | | false | | |
|
|
70
|
+
| bundle_version | VARCHAR(64) | | false | | |
|
|
71
|
+
| methodology_code | VARCHAR(128) | | true | | |
|
|
72
|
+
| display_name | VARCHAR(255) | | true | | |
|
|
73
|
+
| description | TEXT | | true | | |
|
|
74
|
+
| bundle_manifest_json | JSON | | false | | |
|
|
75
|
+
| validation_result_json | JSON | | false | | |
|
|
76
|
+
| is_enabled | INTEGER | 1 | false | | |
|
|
77
|
+
| installed_at | DATETIME | CURRENT_TIMESTAMP | false | | |
|
|
78
|
+
| updated_at | DATETIME | CURRENT_TIMESTAMP | false | | |
|
|
79
|
+
|
|
80
|
+
## Constraints
|
|
81
|
+
|
|
82
|
+
| Name | Type | Definition |
|
|
83
|
+
| ------------------------------------------ | ----------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
84
|
+
| bundle_id | PRIMARY KEY | PRIMARY KEY (bundle_id) |
|
|
85
|
+
| - (Foreign key ID: 0) | FOREIGN KEY | FOREIGN KEY (package_name) REFERENCES agentic_project_modules (package_name) ON UPDATE NO ACTION ON DELETE CASCADE MATCH NONE |
|
|
86
|
+
| sqlite_autoindex_agentic_project_bundles_1 | UNIQUE | UNIQUE (package_name, bundle_code) |
|
|
87
|
+
| - | CHECK | CHECK (json_valid(bundle_manifest_json)) |
|
|
88
|
+
| - | CHECK | CHECK (json_valid(validation_result_json)) |
|
|
89
|
+
| - | CHECK | CHECK (is_enabled IN (0, 1)) |
|
|
90
|
+
|
|
91
|
+
## Indexes
|
|
92
|
+
|
|
93
|
+
| Name | Definition |
|
|
94
|
+
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
|
|
95
|
+
| idx_agentic_project_bundles_enabled | CREATE INDEX idx_agentic_project_bundles_enabled<br /> ON agentic_project_bundles (is_enabled) |
|
|
96
|
+
| idx_agentic_project_bundles_bundle_code | CREATE INDEX idx_agentic_project_bundles_bundle_code<br /> ON agentic_project_bundles (bundle_code) |
|
|
97
|
+
| idx_agentic_project_bundles_package_name | CREATE INDEX idx_agentic_project_bundles_package_name<br /> ON agentic_project_bundles (package_name) |
|
|
98
|
+
| sqlite_autoindex_agentic_project_bundles_1 | UNIQUE (package_name, bundle_code) |
|
|
99
|
+
|
|
100
|
+
## Relations
|
|
101
|
+
|
|
102
|
+

|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
> Generated by [tbls](https://github.com/k1LoW/tbls)
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
3
|
+
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
+
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
|
5
|
+
-->
|
|
6
|
+
<!-- Title: agentic_project_bundles Pages: 1 -->
|
|
7
|
+
<svg width="752pt" height="616pt"
|
|
8
|
+
viewBox="0.00 0.00 752.09 616.40" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
9
|
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 612.4)">
|
|
10
|
+
<title>agentic_project_bundles</title>
|
|
11
|
+
<polygon fill="white" stroke="none" points="-4,4 -4,-612.4 748.09,-612.4 748.09,4 -4,4"/>
|
|
12
|
+
<!-- agentic_project_bundles -->
|
|
13
|
+
<g id="node1" class="node">
|
|
14
|
+
<title>agentic_project_bundles</title>
|
|
15
|
+
<polygon fill="#efefef" stroke="none" points="240.2,-307 240.2,-342.6 499.4,-342.6 499.4,-307 240.2,-307"/>
|
|
16
|
+
<polygon fill="none" stroke="black" points="240.2,-307 240.2,-342.6 499.4,-342.6 499.4,-307 240.2,-307"/>
|
|
17
|
+
<text text-anchor="start" x="247.2" y="-320.4" font-family="Arial Bold" font-size="18.00">agentic_project_bundles</text>
|
|
18
|
+
<text text-anchor="start" x="423.14" y="-320.4" font-family="Arial" font-size="14.00"> </text>
|
|
19
|
+
<text text-anchor="start" x="454.26" y="-320.4" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
20
|
+
<polygon fill="none" stroke="black" points="240.2,-276.2 240.2,-307 499.4,-307 499.4,-276.2 240.2,-276.2"/>
|
|
21
|
+
<text text-anchor="start" x="247.2" y="-288.4" font-family="Arial" font-size="14.00">bundle_id </text>
|
|
22
|
+
<text text-anchor="start" x="311.82" y="-288.4" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
23
|
+
<polygon fill="none" stroke="black" points="240.2,-245.4 240.2,-276.2 499.4,-276.2 499.4,-245.4 240.2,-245.4"/>
|
|
24
|
+
<text text-anchor="start" x="247.2" y="-257.6" font-family="Arial" font-size="14.00">package_name </text>
|
|
25
|
+
<text text-anchor="start" x="346.83" y="-257.6" font-family="Arial" font-size="14.00" fill="#666666">[VARCHAR(214)]</text>
|
|
26
|
+
<polygon fill="none" stroke="black" stroke-width="3" points="238.7,-243.9 238.7,-344.1 500.9,-344.1 500.9,-243.9 238.7,-243.9"/>
|
|
27
|
+
</g>
|
|
28
|
+
<!-- agentic_project_modules -->
|
|
29
|
+
<g id="node4" class="node">
|
|
30
|
+
<title>agentic_project_modules</title>
|
|
31
|
+
<polygon fill="#efefef" stroke="none" points="186.57,-74 186.57,-120 553.03,-120 553.03,-74 186.57,-74"/>
|
|
32
|
+
<polygon fill="none" stroke="black" points="186.57,-74 186.57,-120 553.03,-120 553.03,-74 186.57,-74"/>
|
|
33
|
+
<text text-anchor="start" x="244.7" y="-97.8" font-family="Arial Bold" font-size="18.00">agentic_project_modules</text>
|
|
34
|
+
<text text-anchor="start" x="425.64" y="-97.8" font-family="Arial" font-size="14.00"> </text>
|
|
35
|
+
<text text-anchor="start" x="456.76" y="-97.8" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
36
|
+
<text text-anchor="start" x="193.57" y="-83.4" font-family="Arial" font-size="14.00" fill="#333333">현재 실행 프로젝트에 등록된 Agentic package 상태를 관리한다.</text>
|
|
37
|
+
<polygon fill="none" stroke="black" points="186.57,-43.2 186.57,-74 553.03,-74 553.03,-43.2 186.57,-43.2"/>
|
|
38
|
+
<text text-anchor="start" x="193.57" y="-55.4" font-family="Arial" font-size="14.00">package_name </text>
|
|
39
|
+
<text text-anchor="start" x="293.2" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[VARCHAR(214)]</text>
|
|
40
|
+
<text text-anchor="start" x="402.12" y="-55.4" font-family="Arial" font-size="14.00"> Agentic package 이름</text>
|
|
41
|
+
</g>
|
|
42
|
+
<!-- agentic_project_bundles->agentic_project_modules -->
|
|
43
|
+
<g id="edge3" class="edge">
|
|
44
|
+
<title>agentic_project_bundles:package_name->agentic_project_modules:package_name</title>
|
|
45
|
+
<path fill="none" stroke="black" d="M370.37,-234.19C380.95,-144.99 536.8,-247.64 596.23,-163.2 626.92,-119.58 633.86,-81 596.23,-43.2 560.73,-7.54 369.8,8.12 369.8,-42.2"/>
|
|
46
|
+
<polygon fill="black" stroke="black" points="370.38,-234.08 365.33,-243.82 370.08,-239.41 369.84,-243.73 369.84,-243.73 369.84,-243.73 370.08,-239.41 374.31,-244.32 370.38,-234.08"/>
|
|
47
|
+
</g>
|
|
48
|
+
<!-- agentic_seed_import_runs -->
|
|
49
|
+
<g id="node2" class="node">
|
|
50
|
+
<title>agentic_seed_import_runs</title>
|
|
51
|
+
<polygon fill="#efefef" stroke="none" points="43.2,-529.6 43.2,-565.2 316.4,-565.2 316.4,-529.6 43.2,-529.6"/>
|
|
52
|
+
<polygon fill="none" stroke="black" points="43.2,-529.6 43.2,-565.2 316.4,-565.2 316.4,-529.6 43.2,-529.6"/>
|
|
53
|
+
<text text-anchor="start" x="50.2" y="-543" font-family="Arial Bold" font-size="18.00">agentic_seed_import_runs</text>
|
|
54
|
+
<text text-anchor="start" x="240.15" y="-543" font-family="Arial" font-size="14.00"> </text>
|
|
55
|
+
<text text-anchor="start" x="271.27" y="-543" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
56
|
+
<polygon fill="none" stroke="black" points="43.2,-498.8 43.2,-529.6 316.4,-529.6 316.4,-498.8 43.2,-498.8"/>
|
|
57
|
+
<text text-anchor="start" x="50.2" y="-511" font-family="Arial" font-size="14.00">seed_import_run_id </text>
|
|
58
|
+
<text text-anchor="start" x="177.83" y="-511" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
59
|
+
<polygon fill="none" stroke="black" points="43.2,-468 43.2,-498.8 316.4,-498.8 316.4,-468 43.2,-468"/>
|
|
60
|
+
<text text-anchor="start" x="50.2" y="-480.2" font-family="Arial" font-size="14.00">bundle_id </text>
|
|
61
|
+
<text text-anchor="start" x="114.81" y="-480.2" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
62
|
+
</g>
|
|
63
|
+
<!-- agentic_seed_import_runs->agentic_project_bundles -->
|
|
64
|
+
<g id="edge1" class="edge">
|
|
65
|
+
<title>agentic_seed_import_runs:bundle_id->agentic_project_bundles:bundle_id</title>
|
|
66
|
+
<path fill="none" stroke="black" d="M327.24,-480.66C339.18,-471.75 328.21,-443.09 316.4,-424.8 296.09,-393.33 260.41,-420.34 240.2,-388.8 216.9,-352.42 196,-291.6 239.2,-291.6"/>
|
|
67
|
+
<polygon fill="black" stroke="black" points="327.36,-480.63 316.52,-478.97 322.22,-482.06 318.05,-483.22 318.05,-483.22 318.05,-483.22 322.22,-482.06 318.93,-487.65 327.36,-480.63"/>
|
|
68
|
+
</g>
|
|
69
|
+
<!-- agentic_execution_projects -->
|
|
70
|
+
<g id="node3" class="node">
|
|
71
|
+
<title>agentic_execution_projects</title>
|
|
72
|
+
<polygon fill="#efefef" stroke="none" points="420.72,-529.6 420.72,-565.2 700.89,-565.2 700.89,-529.6 420.72,-529.6"/>
|
|
73
|
+
<polygon fill="none" stroke="black" points="420.72,-529.6 420.72,-565.2 700.89,-565.2 700.89,-529.6 420.72,-529.6"/>
|
|
74
|
+
<text text-anchor="start" x="427.72" y="-543" font-family="Arial Bold" font-size="18.00">agentic_execution_projects</text>
|
|
75
|
+
<text text-anchor="start" x="624.63" y="-543" font-family="Arial" font-size="14.00"> </text>
|
|
76
|
+
<text text-anchor="start" x="655.75" y="-543" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
77
|
+
<polygon fill="none" stroke="black" points="420.72,-498.8 420.72,-529.6 700.89,-529.6 700.89,-498.8 420.72,-498.8"/>
|
|
78
|
+
<text text-anchor="start" x="427.72" y="-511" font-family="Arial" font-size="14.00">execution_project_id </text>
|
|
79
|
+
<text text-anchor="start" x="560.02" y="-511" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
80
|
+
<polygon fill="none" stroke="black" points="420.72,-468 420.72,-498.8 700.89,-498.8 700.89,-468 420.72,-468"/>
|
|
81
|
+
<text text-anchor="start" x="427.72" y="-480.2" font-family="Arial" font-size="14.00">bundle_id </text>
|
|
82
|
+
<text text-anchor="start" x="492.33" y="-480.2" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
83
|
+
</g>
|
|
84
|
+
<!-- agentic_execution_projects->agentic_project_bundles -->
|
|
85
|
+
<g id="edge2" class="edge">
|
|
86
|
+
<title>agentic_execution_projects:bundle_id->agentic_project_bundles:bundle_id</title>
|
|
87
|
+
<path fill="none" stroke="black" d="M409.87,-480.66C397.9,-471.73 408.79,-443.02 420.72,-424.8 441.77,-392.62 478.45,-421.05 499.4,-388.8 522.93,-352.57 543.6,-291.6 500.4,-291.6"/>
|
|
88
|
+
<polygon fill="black" stroke="black" points="409.76,-480.63 418.19,-487.65 414.9,-482.06 419.07,-483.22 419.07,-483.22 419.07,-483.22 414.9,-482.06 420.6,-478.98 409.76,-480.63"/>
|
|
89
|
+
</g>
|
|
90
|
+
</g>
|
|
91
|
+
</svg>
|