Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arnoudkooi/sn-scriptsync
/ functions
Functions
289 in github.com/arnoudkooi/sn-scriptsync
⨍
Functions
289
◇
Types & classes
39
↓ 47 callers
Function
auditLog
(event: string, data: Record<string, any> = {}, runId?: string)
src/extension.ts:711
↓ 44 callers
Function
getWorkspaceRoot
()
src/workspaceRoot.ts:142
↓ 42 callers
Method
log
(message: string)
src/agent/runtime.ts:14
↓ 34 callers
Function
debugLog
(message: string)
src/extension.ts:671
↓ 23 callers
Method
sendToBrowser
(payload: any)
src/agent/runtime.ts:11
↓ 21 callers
Function
group
(label, tables)
resources/metaDataRelations.js:55
↓ 18 callers
Function
mustGetInstanceSettings
(instanceFolder: string)
src/agent/commands/_shared.ts:19
↓ 18 callers
Method
waitForBrowserResponse
Register this request id so the matching browser response resolves it.
src/agent/types.ts:36
↓ 16 callers
Function
broadcastToHelperTab
(messageObj: any)
src/extension.ts:2941
↓ 16 callers
Method
writeFile
(path: string, contents: string, openFile, cb: Function, myThis = this)
src/ExtensionUtils.ts:346
↓ 15 callers
Method
getFileAsJson
(path: string)
src/ExtensionUtils.ts:421
↓ 13 callers
Function
getSetting
(key: string, def: T)
src/agent/commands/_shared.ts:27
↓ 12 callers
Function
resolvePending
(agentRequestId: string, value: any)
src/extension.ts:864
↓ 12 callers
Function
restRequest
(ctx: AgentContext, instance: any, opts: RestOptions)
src/agent/commands/_shared.ts:56
↓ 12 callers
Method
writeOrReadNameToSysIdMapping
(path:string, mappingObject?: object, overwriteExistingMap : boolean = false)
src/ExtensionUtils.ts:612
↓ 10 callers
Function
errorResponse
(id: string, command: string, code: string, message: string)
src/agent/dispatcher.ts:9
↓ 10 callers
Method
fileNameToObject
(listener : TextDocument | string)
src/ExtensionUtils.ts:455
↓ 10 callers
Method
showMessage
(msg: string, duration: number = 3000)
src/ExtensionUtils.ts:439
↓ 9 callers
Function
esc
(s: string)
src/extension.ts:1545
↓ 9 callers
Method
getInstanceSettings
(instanceName: string)
src/ExtensionUtils.ts:396
↓ 8 callers
Function
cdpRoundTrip
* One round-trip of a CDP command through the browser helper. Mirrors * browser.ts's pageRoundTrip: surfaces the browser's structured `code` (e.g. *
src/agent/commands/cdp.ts:39
↓ 8 callers
Function
inferCodeFromMessage
(msg: string | undefined)
src/agent/errors.ts:89
↓ 8 callers
Function
requestRecords
(requestJson)
src/extension.ts:2927
↓ 8 callers
Function
reviewKey
(filePath: string)
src/extension.ts:185
↓ 8 callers
Function
sendJson
(res: http.ServerResponse, status: number, body: any)
src/agent/transport/http.ts:45
↓ 7 callers
Function
buildRunId
()
src/extension.ts:688
↓ 6 callers
Method
copyFile
(sourcePath: string, path: string, cb: Function)
src/ExtensionUtils.ts:26
↓ 6 callers
Method
isServerRunning
()
src/agent/runtime.ts:13
↓ 6 callers
Function
readSection
(name: string)
scripts/build-agent-docs.ts:240
↓ 6 callers
Method
refresh
()
src/QueueTreeViewProvider.ts:68
↓ 6 callers
Method
removeFromQueue
(filePath: string)
src/QueueTreeViewProvider.ts:109
↓ 6 callers
Function
resolve
(id: string, value: any)
src/agent/pendingRegistry.ts:42
↓ 6 callers
Function
saveFieldAsFile
(postedJson, retry = 0)
src/extension.ts:3144
↓ 5 callers
Function
dispatchAgentCommand
(request: AgentRequest)
src/agent/dispatcher.ts:24
↓ 5 callers
Method
hasBrowserClient
()
src/agent/runtime.ts:12
↓ 5 callers
Function
pad2
(n)
src/extension.ts:3625
↓ 5 callers
Function
pageRoundTrip
* Shared round-trip for the live-form/page control family (set_field, * get_form_state, run_ui_action, click_element, navigate). The browser side *
src/agent/commands/browser.ts:557
↓ 5 callers
Function
reject
(id: string, code: AgentErrorCode, message: string, details?: any)
src/agent/pendingRegistry.ts:51
↓ 5 callers
Method
reviewWritesEnabled
True when Agent API writes should be staged for review (optional; * absent/false means writes go straight through).
src/agent/runtime.ts:17
↓ 5 callers
Method
stopCountdown
()
src/QueueTreeViewProvider.ts:125
↓ 4 callers
Function
acceptReviewBaseline
(filePath: string)
src/extension.ts:478
↓ 4 callers
Function
closeList
()
src/extension.ts:1552
↓ 4 callers
Method
dispose
()
src/agent/transport/file.ts:69
↓ 4 callers
Function
inline
(s: string)
src/extension.ts:1546
↓ 4 callers
Function
isCreateArtifactsEnabled
()
src/extension.ts:807
↓ 4 callers
Function
itterateClass
* convert tern file to a .d.ts typescript stub * Get (server) json with this bg script set it to variable x in browser console and run the script gs.
resources/convertTernToDTS.js:8
↓ 4 callers
Function
processPendingFiles
()
src/extension.ts:597
↓ 4 callers
Function
readBackRecord
( ctx: AgentContext, instance: any, table: string, sysId: string, fields?: string, )
src/agent/commands/_shared.ts:121
↓ 4 callers
Function
requestScopeArtifacts
(includeEmpty = false, scriptObj = null, showWarning = true)
src/extension.ts:2376
↓ 4 callers
Function
reviewWritesEnabled
()
src/extension.ts:238
↓ 4 callers
Function
saveFieldsToServiceNow
(documentOrPath: TextDocument | string, fromVsCode:boolean)
src/extension.ts:2955
↓ 4 callers
Function
slugify
(name: string)
src/agent/commands/scopedapp.ts:11
↓ 4 callers
Method
updateQueue
(files: Set<string>, delayMs: number)
src/QueueTreeViewProvider.ts:73
↓ 4 callers
Function
updateScriptSyncStatusBarItem
(message: string)
src/extension.ts:3348
↓ 3 callers
Function
add
(p: string, reason: SyncFolderCandidate['reason'])
src/workspaceRoot.ts:98
↓ 3 callers
Function
boolStr
Coerce a truthy/falsy param into the 'true'/'false' strings the Table API expects.
src/agent/commands/scopedapp.ts:41
↓ 3 callers
Function
buildDropWarnings
* Compare the fields the agent asked to write against what actually persisted. * Only flags fields that came back empty/absent while a non-empty valu
src/agent/commands/records.ts:32
↓ 3 callers
Function
clearStagedCreates
()
src/extension.ts:531
↓ 3 callers
Function
ensureReviewSourceControl
()
src/extension.ts:230
↓ 3 callers
Method
extractManagedBlock
(text: string)
src/ExtensionUtils.ts:118
↓ 3 callers
Method
getFileAsArray
(path: string)
src/ExtensionUtils.ts:430
↓ 3 callers
Function
getSyncFolderCandidates
()
src/workspaceRoot.ts:92
↓ 3 callers
Function
inferFieldType
(field: string)
src/extension.ts:245
↓ 3 callers
Function
isCreateArtifactsEnabled
()
src/agent/commands/scopedapp.ts:7
↓ 3 callers
Function
isReviewBypass
Set by the host when replaying a staged write — skips the review gate so the * approved write actually executes.
src/agent/commands/records.ts:53
↓ 3 callers
Function
isValidInstanceRoot
(instanceFolder: string)
src/extension.ts:758
↓ 3 callers
Function
isValidInstanceSettingsObject
(settings: any, expectedName?: string)
src/extension.ts:744
↓ 3 callers
Method
isValidParsedScriptObject
(scriptObj: any)
src/ExtensionUtils.ts:603
↓ 3 callers
Function
lookupSysIdFromMap
Resolve a sys_id from name + table + scope via the local _map.json.
src/agent/commands/browser.ts:105
↓ 3 callers
Function
notifyBaselineChanged
(filePath: string)
src/extension.ts:201
↓ 3 callers
Function
pick
(obj: any, keys: string[])
src/agent/commands/records.ts:44
↓ 3 callers
Function
portFilePath
()
src/agent/portFile.ts:16
↓ 3 callers
Method
readApiVersionFromText
(text: string)
src/ExtensionUtils.ts:107
↓ 3 callers
Function
resetWorkspaceRoot
()
src/workspaceRoot.ts:151
↓ 3 callers
Function
selectionToBG
(global = true)
src/extension.ts:3592
↓ 3 callers
Function
setScopeTree
(showWarning = false)
src/extension.ts:1758
↓ 3 callers
Function
setServerRunningContext
(running: boolean)
src/extension.ts:116
↓ 3 callers
Method
stageWrite
Stage a write for manual review instead of pushing it now. Returns the * staged response a command should hand straight back to the caller.
src/agent/types.ts:48
↓ 3 callers
Function
startServers
()
src/extension.ts:1818
↓ 3 callers
Method
togglePause
()
src/QueueTreeViewProvider.ts:42
↓ 3 callers
Function
undoReviewFile
(filePath: string)
src/extension.ts:487
↓ 3 callers
Function
updateContextMenuVisibility
()
src/extension.ts:107
↓ 2 callers
Function
baselineUriFor
(filePath: string)
src/extension.ts:189
↓ 2 callers
Function
captureReviewBaseline
(filePath: string)
src/extension.ts:461
↓ 2 callers
Function
captureToFile
* Shared screenshot capture: round-trips takeScreenshot, writes the PNG, and * auto-retries ONCE on a permission error (giving the user a moment to c
src/agent/commands/browser.ts:269
↓ 2 callers
Function
claimSection
(name: string, owner: string)
scripts/build-agent-docs.ts:406
↓ 2 callers
Method
clearQueue
()
src/QueueTreeViewProvider.ts:95
↓ 2 callers
Function
computeServedUrl
* Compute the URL a ServiceNow artifact is actually *served* at (not its form). * sys_ui_page renders at `<instance>/<scope>_<name>.do` (scope-prefix
src/agent/commands/browser.ts:71
↓ 2 callers
Function
delay
(ms: number)
src/agent/commands/browser.ts:8
↓ 2 callers
Method
dissasembleFilePath
(path: string, isFolderRecordTable : boolean = false)
src/ExtensionUtils.ts:649
↓ 2 callers
Function
enqueueForReview
(filePath: string)
src/extension.ts:264
↓ 2 callers
Function
enqueuePendingFile
( filePath: string, reason: string, runId: string, debounceSeconds: number, debounceDelay: number )
src/extension.ts:812
↓ 2 callers
Function
fetchServedRecord
* Look up the authoritative record for a served-URL computation. Prefers the * sys_id (exact); otherwise resolves by `nameField` (exact match then a
src/agent/commands/browser.ts:18
↓ 2 callers
Method
fileExsists
(path:string)
src/ExtensionUtils.ts:629
↓ 2 callers
Function
getInstanceRootForPath
(filePath: string)
src/extension.ts:731
↓ 2 callers
Function
getSyncState
()
src/agent/commands/connection.ts:343
↓ 2 callers
Function
initializeWebViewPanelIfNotExists
()
src/extension.ts:1683
↓ 2 callers
Function
isBackgroundScriptsEnabled
()
src/agent/commands/background.ts:5
↓ 2 callers
Function
isBrowserDebuggerEnabled
()
src/agent/commands/cdp.ts:24
↓ 2 callers
Function
isMultiRootWorkspace
()
src/workspaceRoot.ts:163
next →
1–100 of 289, ranked by callers