MCPcopy Create free account

hub / github.com/arnoudkooi/sn-scriptsync / functions

Functions289 in github.com/arnoudkooi/sn-scriptsync

↓ 47 callersFunctionauditLog
(event: string, data: Record<string, any> = {}, runId?: string)
src/extension.ts:711
↓ 44 callersFunctiongetWorkspaceRoot
()
src/workspaceRoot.ts:142
↓ 42 callersMethodlog
(message: string)
src/agent/runtime.ts:14
↓ 34 callersFunctiondebugLog
(message: string)
src/extension.ts:671
↓ 23 callersMethodsendToBrowser
(payload: any)
src/agent/runtime.ts:11
↓ 21 callersFunctiongroup
(label, tables)
resources/metaDataRelations.js:55
↓ 18 callersFunctionmustGetInstanceSettings
(instanceFolder: string)
src/agent/commands/_shared.ts:19
↓ 18 callersMethodwaitForBrowserResponse
Register this request id so the matching browser response resolves it.
src/agent/types.ts:36
↓ 16 callersFunctionbroadcastToHelperTab
(messageObj: any)
src/extension.ts:2941
↓ 16 callersMethodwriteFile
(path: string, contents: string, openFile, cb: Function, myThis = this)
src/ExtensionUtils.ts:346
↓ 15 callersMethodgetFileAsJson
(path: string)
src/ExtensionUtils.ts:421
↓ 13 callersFunctiongetSetting
(key: string, def: T)
src/agent/commands/_shared.ts:27
↓ 12 callersFunctionresolvePending
(agentRequestId: string, value: any)
src/extension.ts:864
↓ 12 callersFunctionrestRequest
(ctx: AgentContext, instance: any, opts: RestOptions)
src/agent/commands/_shared.ts:56
↓ 12 callersMethodwriteOrReadNameToSysIdMapping
(path:string, mappingObject?: object, overwriteExistingMap : boolean = false)
src/ExtensionUtils.ts:612
↓ 10 callersFunctionerrorResponse
(id: string, command: string, code: string, message: string)
src/agent/dispatcher.ts:9
↓ 10 callersMethodfileNameToObject
(listener : TextDocument | string)
src/ExtensionUtils.ts:455
↓ 10 callersMethodshowMessage
(msg: string, duration: number = 3000)
src/ExtensionUtils.ts:439
↓ 9 callersFunctionesc
(s: string)
src/extension.ts:1545
↓ 9 callersMethodgetInstanceSettings
(instanceName: string)
src/ExtensionUtils.ts:396
↓ 8 callersFunctioncdpRoundTrip
* 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 callersFunctioninferCodeFromMessage
(msg: string | undefined)
src/agent/errors.ts:89
↓ 8 callersFunctionrequestRecords
(requestJson)
src/extension.ts:2927
↓ 8 callersFunctionreviewKey
(filePath: string)
src/extension.ts:185
↓ 8 callersFunctionsendJson
(res: http.ServerResponse, status: number, body: any)
src/agent/transport/http.ts:45
↓ 7 callersFunctionbuildRunId
()
src/extension.ts:688
↓ 6 callersMethodcopyFile
(sourcePath: string, path: string, cb: Function)
src/ExtensionUtils.ts:26
↓ 6 callersMethodisServerRunning
()
src/agent/runtime.ts:13
↓ 6 callersFunctionreadSection
(name: string)
scripts/build-agent-docs.ts:240
↓ 6 callersMethodrefresh
()
src/QueueTreeViewProvider.ts:68
↓ 6 callersMethodremoveFromQueue
(filePath: string)
src/QueueTreeViewProvider.ts:109
↓ 6 callersFunctionresolve
(id: string, value: any)
src/agent/pendingRegistry.ts:42
↓ 6 callersFunctionsaveFieldAsFile
(postedJson, retry = 0)
src/extension.ts:3144
↓ 5 callersFunctiondispatchAgentCommand
(request: AgentRequest)
src/agent/dispatcher.ts:24
↓ 5 callersMethodhasBrowserClient
()
src/agent/runtime.ts:12
↓ 5 callersFunctionpad2
(n)
src/extension.ts:3625
↓ 5 callersFunctionpageRoundTrip
* 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 callersFunctionreject
(id: string, code: AgentErrorCode, message: string, details?: any)
src/agent/pendingRegistry.ts:51
↓ 5 callersMethodreviewWritesEnabled
True when Agent API writes should be staged for review (optional; * absent/false means writes go straight through).
src/agent/runtime.ts:17
↓ 5 callersMethodstopCountdown
()
src/QueueTreeViewProvider.ts:125
↓ 4 callersFunctionacceptReviewBaseline
(filePath: string)
src/extension.ts:478
↓ 4 callersFunctioncloseList
()
src/extension.ts:1552
↓ 4 callersMethoddispose
()
src/agent/transport/file.ts:69
↓ 4 callersFunctioninline
(s: string)
src/extension.ts:1546
↓ 4 callersFunctionisCreateArtifactsEnabled
()
src/extension.ts:807
↓ 4 callersFunctionitterateClass
* 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 callersFunctionprocessPendingFiles
()
src/extension.ts:597
↓ 4 callersFunctionreadBackRecord
( ctx: AgentContext, instance: any, table: string, sysId: string, fields?: string, )
src/agent/commands/_shared.ts:121
↓ 4 callersFunctionrequestScopeArtifacts
(includeEmpty = false, scriptObj = null, showWarning = true)
src/extension.ts:2376
↓ 4 callersFunctionreviewWritesEnabled
()
src/extension.ts:238
↓ 4 callersFunctionsaveFieldsToServiceNow
(documentOrPath: TextDocument | string, fromVsCode:boolean)
src/extension.ts:2955
↓ 4 callersFunctionslugify
(name: string)
src/agent/commands/scopedapp.ts:11
↓ 4 callersMethodupdateQueue
(files: Set<string>, delayMs: number)
src/QueueTreeViewProvider.ts:73
↓ 4 callersFunctionupdateScriptSyncStatusBarItem
(message: string)
src/extension.ts:3348
↓ 3 callersFunctionadd
(p: string, reason: SyncFolderCandidate['reason'])
src/workspaceRoot.ts:98
↓ 3 callersFunctionboolStr
Coerce a truthy/falsy param into the 'true'/'false' strings the Table API expects.
src/agent/commands/scopedapp.ts:41
↓ 3 callersFunctionbuildDropWarnings
* 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 callersFunctionclearStagedCreates
()
src/extension.ts:531
↓ 3 callersFunctionensureReviewSourceControl
()
src/extension.ts:230
↓ 3 callersMethodextractManagedBlock
(text: string)
src/ExtensionUtils.ts:118
↓ 3 callersMethodgetFileAsArray
(path: string)
src/ExtensionUtils.ts:430
↓ 3 callersFunctiongetSyncFolderCandidates
()
src/workspaceRoot.ts:92
↓ 3 callersFunctioninferFieldType
(field: string)
src/extension.ts:245
↓ 3 callersFunctionisCreateArtifactsEnabled
()
src/agent/commands/scopedapp.ts:7
↓ 3 callersFunctionisReviewBypass
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 callersFunctionisValidInstanceRoot
(instanceFolder: string)
src/extension.ts:758
↓ 3 callersFunctionisValidInstanceSettingsObject
(settings: any, expectedName?: string)
src/extension.ts:744
↓ 3 callersMethodisValidParsedScriptObject
(scriptObj: any)
src/ExtensionUtils.ts:603
↓ 3 callersFunctionlookupSysIdFromMap
Resolve a sys_id from name + table + scope via the local _map.json.
src/agent/commands/browser.ts:105
↓ 3 callersFunctionnotifyBaselineChanged
(filePath: string)
src/extension.ts:201
↓ 3 callersFunctionpick
(obj: any, keys: string[])
src/agent/commands/records.ts:44
↓ 3 callersFunctionportFilePath
()
src/agent/portFile.ts:16
↓ 3 callersMethodreadApiVersionFromText
(text: string)
src/ExtensionUtils.ts:107
↓ 3 callersFunctionresetWorkspaceRoot
()
src/workspaceRoot.ts:151
↓ 3 callersFunctionselectionToBG
(global = true)
src/extension.ts:3592
↓ 3 callersFunctionsetScopeTree
(showWarning = false)
src/extension.ts:1758
↓ 3 callersFunctionsetServerRunningContext
(running: boolean)
src/extension.ts:116
↓ 3 callersMethodstageWrite
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 callersFunctionstartServers
()
src/extension.ts:1818
↓ 3 callersMethodtogglePause
()
src/QueueTreeViewProvider.ts:42
↓ 3 callersFunctionundoReviewFile
(filePath: string)
src/extension.ts:487
↓ 3 callersFunctionupdateContextMenuVisibility
()
src/extension.ts:107
↓ 2 callersFunctionbaselineUriFor
(filePath: string)
src/extension.ts:189
↓ 2 callersFunctioncaptureReviewBaseline
(filePath: string)
src/extension.ts:461
↓ 2 callersFunctioncaptureToFile
* 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 callersFunctionclaimSection
(name: string, owner: string)
scripts/build-agent-docs.ts:406
↓ 2 callersMethodclearQueue
()
src/QueueTreeViewProvider.ts:95
↓ 2 callersFunctioncomputeServedUrl
* 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 callersFunctiondelay
(ms: number)
src/agent/commands/browser.ts:8
↓ 2 callersMethoddissasembleFilePath
(path: string, isFolderRecordTable : boolean = false)
src/ExtensionUtils.ts:649
↓ 2 callersFunctionenqueueForReview
(filePath: string)
src/extension.ts:264
↓ 2 callersFunctionenqueuePendingFile
( filePath: string, reason: string, runId: string, debounceSeconds: number, debounceDelay: number )
src/extension.ts:812
↓ 2 callersFunctionfetchServedRecord
* 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 callersMethodfileExsists
(path:string)
src/ExtensionUtils.ts:629
↓ 2 callersFunctiongetInstanceRootForPath
(filePath: string)
src/extension.ts:731
↓ 2 callersFunctiongetSyncState
()
src/agent/commands/connection.ts:343
↓ 2 callersFunctioninitializeWebViewPanelIfNotExists
()
src/extension.ts:1683
↓ 2 callersFunctionisBackgroundScriptsEnabled
()
src/agent/commands/background.ts:5
↓ 2 callersFunctionisBrowserDebuggerEnabled
()
src/agent/commands/cdp.ts:24
↓ 2 callersFunctionisMultiRootWorkspace
()
src/workspaceRoot.ts:163
next →1–100 of 289, ranked by callers