@maintainer-pro/ai-cli 0.1.12 → 0.1.13
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/dist/index.cjs +17 -0
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +14 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -38,6 +38,8 @@ __export(index_exports, {
|
|
|
38
38
|
DEFAULT_AI_IGNORE_PATHS: () => DEFAULT_AI_IGNORE_PATHS,
|
|
39
39
|
HOST_APPS_FILE: () => HOST_APPS_FILE,
|
|
40
40
|
MAINTAINER_PRO_HOME_DIR: () => MAINTAINER_PRO_HOME_DIR,
|
|
41
|
+
PACKAGE_NAME: () => PACKAGE_NAME,
|
|
42
|
+
PACKAGE_VERSION: () => PACKAGE_VERSION,
|
|
41
43
|
PROMPT_SECTION: () => PROMPT_SECTION,
|
|
42
44
|
WORKING_PROVIDER: () => WORKING_PROVIDER,
|
|
43
45
|
buildClaudeUserPrompt: () => buildClaudeUserPrompt,
|
|
@@ -3713,6 +3715,19 @@ Return the real local ports and npm script names.`
|
|
|
3713
3715
|
fingerprint
|
|
3714
3716
|
};
|
|
3715
3717
|
}
|
|
3718
|
+
|
|
3719
|
+
// src/version.ts
|
|
3720
|
+
var import_node_module = require("module");
|
|
3721
|
+
var import_meta = {};
|
|
3722
|
+
var require2 = (0, import_node_module.createRequire)(import_meta.url);
|
|
3723
|
+
var PACKAGE_NAME = "@maintainer-pro/ai-cli";
|
|
3724
|
+
var PACKAGE_VERSION = (() => {
|
|
3725
|
+
try {
|
|
3726
|
+
return String(require2("../package.json").version || "0.0.0");
|
|
3727
|
+
} catch {
|
|
3728
|
+
return "0.0.0";
|
|
3729
|
+
}
|
|
3730
|
+
})();
|
|
3716
3731
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3717
3732
|
0 && (module.exports = {
|
|
3718
3733
|
ACCESS_IGNORE_BEGIN,
|
|
@@ -3723,6 +3738,8 @@ Return the real local ports and npm script names.`
|
|
|
3723
3738
|
DEFAULT_AI_IGNORE_PATHS,
|
|
3724
3739
|
HOST_APPS_FILE,
|
|
3725
3740
|
MAINTAINER_PRO_HOME_DIR,
|
|
3741
|
+
PACKAGE_NAME,
|
|
3742
|
+
PACKAGE_VERSION,
|
|
3726
3743
|
PROMPT_SECTION,
|
|
3727
3744
|
WORKING_PROVIDER,
|
|
3728
3745
|
buildClaudeUserPrompt,
|
package/dist/index.d.cts
CHANGED
|
@@ -669,4 +669,7 @@ declare function proposeHostAppsFromConfig(input: ProposeHostAppsInput): Promise
|
|
|
669
669
|
*/
|
|
670
670
|
declare function resolveHostApps(input: HostAppsResolveInput): Promise<HostAppsResolveResult>;
|
|
671
671
|
|
|
672
|
-
|
|
672
|
+
declare const PACKAGE_NAME = "@maintainer-pro/ai-cli";
|
|
673
|
+
declare const PACKAGE_VERSION: string;
|
|
674
|
+
|
|
675
|
+
export { ACCESS_IGNORE_BEGIN, ACCESS_IGNORE_END, AI_SERVER_APP_ID, AI_SERVER_DEFAULT_PORT, type AiCliProviderId, type AiProvider, type AiResponse, COLLABORATER_DIR, type CachedChatMessage, type CachedConversation, type CallAiOptions, type ChatAttachment, type ChatHandlerOptions, type ChatHandlers, type ChatMessage, type ChatSenderType, type ChatStoreLike, type ChatUser, type ClientContext, DEFAULT_AI_IGNORE_PATHS, HOST_APPS_FILE, type HostApp, type HostAppAlternative, type HostAppRole, type HostAppSource, type HostAppsResolveInput, type HostAppsResolveResult, type LocalStoredMessage, MAINTAINER_PRO_HOME_DIR, type MaintainerProStoreOptions, PACKAGE_NAME, PACKAGE_VERSION, PROMPT_SECTION, type ParentChainEntry, type ParentChainSource, type PriorConversationOptions, type ProjectDataInput, type ProposeHostAppsInput, type ProviderPreference, type SetupProposal, type SetupProposalConfidence, type SyncedChatStore, type SyncedChatStoreOptions, type SyncedStoreStats, type ToolCall, type ToolSchemaMap, WORKING_PROVIDER, type WorkingTurnEvent, type WorkspaceInspectInput, type WorkspaceInspectResult, type WorkspaceKind, buildClaudeUserPrompt, buildConversationPrompt, buildCursorPrompt, buildPriorConversationsContext, callAi, collectParentChain, commandExists, createAntigravityProvider, createBuiltinProviders, createChatHandler, createClaudeProvider, createCursorProvider, createDefaultSystemPrompt, createInfoLogger, createLocalDirectoryStore, createLogger, createMaintainerProStore, createMaintainerProStoreFromEnv, createSyncedChatStore, createToolValidator, defaultAiServerApp, detectHostAppsFromFiles, detectHostAppsFromFolders, ensureAiServerApp, ensureProjectDataDir, ensureSingleHost, formatAccessPolicyPromptSection, formatClientContext, formatParentChainContext, getProviderPreference, hostAppsCachePath, hostAppsFingerprint, hostAppsFingerprintForFolders, inspectAndRepairWorkspace, inspectConfigOnly, isAiServerApp, isDevMode, isIgnoredRelative, isInsideWorkspace, isPathAllowed, maintainerProHome, mergeDesiredHostApps, normalizeHostApp, normalizeHostApps, normalizeIgnorePaths, parentChainForTurn, parseAiResponse, parseIgnorePathsEnv, parsePort, previewText, hostAppsCachePath$1 as projectHostAppsPath, projectIdForFolder, projectUploadsDir, proposeHostAppsFromConfig, providerLabel, readCollaboraterApps, readHostAppsCache, readProjectEnvLayers, renderManagedIgnoreBlock, resolveCliBinary, resolveHostApps, resolveIgnorePaths, resolveLogLevel, resolveProjectDataDir, resolveProvider, sanitizeProjectId, saveChatAttachments, toNextRoute, unionHostApps, upsertManagedIgnoreFile, withoutAiServerApp, writeCollaboraterApps, writeHostAppsCache };
|
package/dist/index.d.ts
CHANGED
|
@@ -669,4 +669,7 @@ declare function proposeHostAppsFromConfig(input: ProposeHostAppsInput): Promise
|
|
|
669
669
|
*/
|
|
670
670
|
declare function resolveHostApps(input: HostAppsResolveInput): Promise<HostAppsResolveResult>;
|
|
671
671
|
|
|
672
|
-
|
|
672
|
+
declare const PACKAGE_NAME = "@maintainer-pro/ai-cli";
|
|
673
|
+
declare const PACKAGE_VERSION: string;
|
|
674
|
+
|
|
675
|
+
export { ACCESS_IGNORE_BEGIN, ACCESS_IGNORE_END, AI_SERVER_APP_ID, AI_SERVER_DEFAULT_PORT, type AiCliProviderId, type AiProvider, type AiResponse, COLLABORATER_DIR, type CachedChatMessage, type CachedConversation, type CallAiOptions, type ChatAttachment, type ChatHandlerOptions, type ChatHandlers, type ChatMessage, type ChatSenderType, type ChatStoreLike, type ChatUser, type ClientContext, DEFAULT_AI_IGNORE_PATHS, HOST_APPS_FILE, type HostApp, type HostAppAlternative, type HostAppRole, type HostAppSource, type HostAppsResolveInput, type HostAppsResolveResult, type LocalStoredMessage, MAINTAINER_PRO_HOME_DIR, type MaintainerProStoreOptions, PACKAGE_NAME, PACKAGE_VERSION, PROMPT_SECTION, type ParentChainEntry, type ParentChainSource, type PriorConversationOptions, type ProjectDataInput, type ProposeHostAppsInput, type ProviderPreference, type SetupProposal, type SetupProposalConfidence, type SyncedChatStore, type SyncedChatStoreOptions, type SyncedStoreStats, type ToolCall, type ToolSchemaMap, WORKING_PROVIDER, type WorkingTurnEvent, type WorkspaceInspectInput, type WorkspaceInspectResult, type WorkspaceKind, buildClaudeUserPrompt, buildConversationPrompt, buildCursorPrompt, buildPriorConversationsContext, callAi, collectParentChain, commandExists, createAntigravityProvider, createBuiltinProviders, createChatHandler, createClaudeProvider, createCursorProvider, createDefaultSystemPrompt, createInfoLogger, createLocalDirectoryStore, createLogger, createMaintainerProStore, createMaintainerProStoreFromEnv, createSyncedChatStore, createToolValidator, defaultAiServerApp, detectHostAppsFromFiles, detectHostAppsFromFolders, ensureAiServerApp, ensureProjectDataDir, ensureSingleHost, formatAccessPolicyPromptSection, formatClientContext, formatParentChainContext, getProviderPreference, hostAppsCachePath, hostAppsFingerprint, hostAppsFingerprintForFolders, inspectAndRepairWorkspace, inspectConfigOnly, isAiServerApp, isDevMode, isIgnoredRelative, isInsideWorkspace, isPathAllowed, maintainerProHome, mergeDesiredHostApps, normalizeHostApp, normalizeHostApps, normalizeIgnorePaths, parentChainForTurn, parseAiResponse, parseIgnorePathsEnv, parsePort, previewText, hostAppsCachePath$1 as projectHostAppsPath, projectIdForFolder, projectUploadsDir, proposeHostAppsFromConfig, providerLabel, readCollaboraterApps, readHostAppsCache, readProjectEnvLayers, renderManagedIgnoreBlock, resolveCliBinary, resolveHostApps, resolveIgnorePaths, resolveLogLevel, resolveProjectDataDir, resolveProvider, sanitizeProjectId, saveChatAttachments, toNextRoute, unionHostApps, upsertManagedIgnoreFile, withoutAiServerApp, writeCollaboraterApps, writeHostAppsCache };
|
package/dist/index.js
CHANGED
|
@@ -3595,6 +3595,18 @@ Return the real local ports and npm script names.`
|
|
|
3595
3595
|
fingerprint
|
|
3596
3596
|
};
|
|
3597
3597
|
}
|
|
3598
|
+
|
|
3599
|
+
// src/version.ts
|
|
3600
|
+
import { createRequire } from "module";
|
|
3601
|
+
var require2 = createRequire(import.meta.url);
|
|
3602
|
+
var PACKAGE_NAME = "@maintainer-pro/ai-cli";
|
|
3603
|
+
var PACKAGE_VERSION = (() => {
|
|
3604
|
+
try {
|
|
3605
|
+
return String(require2("../package.json").version || "0.0.0");
|
|
3606
|
+
} catch {
|
|
3607
|
+
return "0.0.0";
|
|
3608
|
+
}
|
|
3609
|
+
})();
|
|
3598
3610
|
export {
|
|
3599
3611
|
ACCESS_IGNORE_BEGIN,
|
|
3600
3612
|
ACCESS_IGNORE_END,
|
|
@@ -3604,6 +3616,8 @@ export {
|
|
|
3604
3616
|
DEFAULT_AI_IGNORE_PATHS,
|
|
3605
3617
|
HOST_APPS_FILE,
|
|
3606
3618
|
MAINTAINER_PRO_HOME_DIR,
|
|
3619
|
+
PACKAGE_NAME,
|
|
3620
|
+
PACKAGE_VERSION,
|
|
3607
3621
|
PROMPT_SECTION,
|
|
3608
3622
|
WORKING_PROVIDER,
|
|
3609
3623
|
buildClaudeUserPrompt,
|