@jskit-ai/agent-docs 0.1.36 → 0.1.37
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/package.json
CHANGED
|
@@ -831,6 +831,7 @@ Exports
|
|
|
831
831
|
- `listSessions({ targetRoot = process.cwd(), archive = "active" } = {})`
|
|
832
832
|
- `renderTemplate`
|
|
833
833
|
- `recordDependenciesInstalled(paths, { message = "Installed Node dependencies in the session worktree.", preconditions = [] } = {})`
|
|
834
|
+
- `rewindSession({ targetRoot = process.cwd(), sessionId, stepId } = {})`
|
|
834
835
|
- `resolveSessionPaths`
|
|
835
836
|
- `runSessionStep({ targetRoot = process.cwd(), sessionId, options = {} } = {})`
|
|
836
837
|
Local functions
|
|
@@ -858,6 +859,15 @@ Local functions
|
|
|
858
859
|
- `commandOutputSummary(output = "")`
|
|
859
860
|
- `appendCommandLog(paths, { args = [], command, cwd = "", kind = "command", result } = {})`
|
|
860
861
|
- `runLoggedCommand(paths, kind, command, args = [], options = {})`
|
|
862
|
+
- `readWorktreePackageJson(worktree)`
|
|
863
|
+
- `packageScriptRunArgs(packageManager, scriptName)`
|
|
864
|
+
- `packageScriptCommandForWorktree(worktree, scriptName, { preferredPackageManager = "" } = {})`
|
|
865
|
+
- `sessionPackageScriptEnv(paths, scriptName)`
|
|
866
|
+
- `packageScriptRepairCommand(paths, command, args)`
|
|
867
|
+
- `packageScriptReceiptName(scriptName)`
|
|
868
|
+
- `writeSessionHookReceipt(paths, scriptName, message)`
|
|
869
|
+
- `runOptionalSessionPackageScript(paths, { failureCode, failureMessage, kind, preferredPackageManager = "", preconditions = [], scriptName, timeout = 1000 * 60 * 10 } = {})`
|
|
870
|
+
- `runSessionFinalizationGuard(paths, preconditions = [])`
|
|
861
871
|
- `readIssueMetadata(paths)`
|
|
862
872
|
- `writeIssueMetadata(paths, metadata = {})`
|
|
863
873
|
- `readGithubComments(paths)`
|
|
@@ -888,6 +898,20 @@ Local functions
|
|
|
888
898
|
- `untrackedFiles(worktree)`
|
|
889
899
|
- `untrackedFileDiff(worktree, filePath)`
|
|
890
900
|
- `untrackedFilesDiff(worktree)`
|
|
901
|
+
- `removeSessionPath(paths, ...parts)`
|
|
902
|
+
- `removeSessionRootFile(paths, fileName)`
|
|
903
|
+
- `removePromptArtifact(paths, fileName)`
|
|
904
|
+
- `removeGlobalCodexResult(paths, stepId)`
|
|
905
|
+
- `removeGithubCommentPurpose(paths, purpose)`
|
|
906
|
+
- `removeIssueDetailsMetadata(paths)`
|
|
907
|
+
- `removeCycleDirectories(paths)`
|
|
908
|
+
- `removeCyclePromptArtifacts(paths)`
|
|
909
|
+
- `cancelAllCycleState(paths)`
|
|
910
|
+
- `targetRequiresCycleReset(stepId)`
|
|
911
|
+
- `targetIsAllowedRewindStep(stepId)`
|
|
912
|
+
- `deletedStepIdsForRewindTarget(stepId)`
|
|
913
|
+
- `removeReceiptsForDeletedSteps(paths, deletedStepIds)`
|
|
914
|
+
- `cancelDeletedStepArtifacts(paths, deletedStepIds, { cycleReset = false } = {})`
|
|
891
915
|
- `commitWorktree(paths, { message, allowNoChanges = false } = {})`
|
|
892
916
|
- `uniqueChangedFileList(entries = [])`
|
|
893
917
|
- `changedFilesInWorktree(paths)`
|
|
@@ -924,13 +948,16 @@ Local functions
|
|
|
924
948
|
- `assertTargetRootCleanForBaseUpdate(paths)`
|
|
925
949
|
- `removeSessionWorktree(paths)`
|
|
926
950
|
- `writePrOutcome(paths, outcome)`
|
|
951
|
+
- `mainCheckoutSyncPath(paths)`
|
|
952
|
+
- `writeMainCheckoutSync(paths, payload = {})`
|
|
927
953
|
- `assertTargetRootCanUpdateBase(paths, branch)`
|
|
928
|
-
- `assertTargetBaseCanFastForward(paths, branch)`
|
|
929
954
|
- `updateLocalBaseBranch(paths, baseBranch = "")`
|
|
955
|
+
- `syncMainCheckout(paths, options = {}, context = {})`
|
|
930
956
|
- `updateHelperMapBeforePr(paths)`
|
|
931
957
|
- `createPr(paths)`
|
|
932
958
|
- `closePrWithoutMerge(paths, prUrl, options = {})`
|
|
933
|
-
- `
|
|
959
|
+
- `preparePrMerge(paths, options = {}, context = {})`
|
|
960
|
+
- `finalizePr(paths, options = {}, context = {})`
|
|
934
961
|
- `finishSession(paths)`
|
|
935
962
|
- `runNamedPreconditions(paths, names = [])`
|
|
936
963
|
|
|
@@ -960,6 +987,7 @@ Exports
|
|
|
960
987
|
- `DEEP_UI_CHECK_CODEX_HANDOFF`
|
|
961
988
|
- `AUTOMATED_CHECK_REPAIR_CODEX_HANDOFF`
|
|
962
989
|
- `BLUEPRINT_CODEX_HANDOFF`
|
|
990
|
+
- `PR_MERGE_PREP_CODEX_HANDOFF`
|
|
963
991
|
- `JSKIT_CLI_SHELL_COMMAND`
|
|
964
992
|
- `JSKIT_CLI_SHELL_RULE`
|
|
965
993
|
- `SESSION_STATE_RELATIVE_PATH`
|
|
@@ -1013,6 +1041,7 @@ Exports
|
|
|
1013
1041
|
- `assertIssueUrlExists(paths)`
|
|
1014
1042
|
- `assertAutomatedChecksPassed(paths)`
|
|
1015
1043
|
- `assertIssueDetailsExists(paths)`
|
|
1044
|
+
- `assertMainCheckoutSyncSatisfied(paths)`
|
|
1016
1045
|
- `assertPlanTextExists(paths)`
|
|
1017
1046
|
- `assertPrUrlExists(paths)`
|
|
1018
1047
|
- `assertReadyJskitApp(paths)`
|