Skip to content

Commit b55e105

Browse files
sfdc-ospo-botasikora-sf
authored andcommitted
Initial commit
0 parents  commit b55e105

File tree

139 files changed

+37775
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+37775
-0
lines changed

.gitignore

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
# Xcode
2+
!**/*.xcodeproj
3+
!**/*.pbxproj
4+
!**/*.xcworkspacedata
5+
!**/*.xcsettings
6+
!**/*.xcscheme
7+
*.pbxuser
8+
!default.pbxuser
9+
*.mode1v3
10+
!default.mode1v3
11+
*.mode2v3
12+
!default.mode2v3
13+
*.perspectivev3
14+
!default.perspectivev3
15+
xcuserdata
16+
*.xccheckout
17+
*.moved-aside
18+
DerivedData
19+
*.hmap
20+
*.ipa
21+
*.xcuserstate
22+
project.xcworkspace
23+
**/.xcode.env.local
24+
25+
# Gradle
26+
/build/
27+
/packages/rn-tester/build
28+
/packages/rn-tester/android/app/.cxx/
29+
/packages/rn-tester/android/app/build/
30+
/packages/rn-tester/android/app/gradle/
31+
/packages/rn-tester/android/app/gradlew
32+
/packages/rn-tester/android/app/gradlew.bat
33+
/packages/react-native/build/
34+
/packages/react-native/ReactAndroid/build/
35+
/packages/react-native/ReactAndroid/.cxx/
36+
/packages/react-native/ReactAndroid/gradle/
37+
/packages/react-native/ReactAndroid/gradlew
38+
/packages/react-native/ReactAndroid/gradlew.bat
39+
/packages/react-native/ReactAndroid/external-artifacts/build/
40+
/packages/react-native/ReactAndroid/external-artifacts/artifacts/
41+
/packages/react-native/ReactAndroid/hermes-engine/build/
42+
/packages/react-native/ReactAndroid/hermes-engine/.cxx/
43+
/private/helloworld/android/app/build/
44+
/private/helloworld/android/build/
45+
/packages/react-native-popup-menu-android/android/build/
46+
47+
# Buck
48+
.buckd
49+
buck-out
50+
/.lsp.buckd
51+
/.lsp-buck-out
52+
/packages/react-native/ReactAndroid/src/main/jni/prebuilt/lib/
53+
/packages/react-native/ReactAndroid/src/main/gen
54+
/.cpplsp.buckd
55+
56+
# Android Studio
57+
.project
58+
.settings
59+
.classpath
60+
61+
# Watchman
62+
.watchmanconfig
63+
64+
# Android
65+
.idea
66+
.gradle
67+
local.properties
68+
*.iml
69+
/packages/react-native/android/*
70+
!/packages/react-native/android/README.md
71+
.kotlin/
72+
73+
# Node
74+
node_modules
75+
*.log
76+
.nvm
77+
package-lock.json
78+
79+
# OS X
80+
.DS_Store
81+
82+
# Test generated files
83+
*.js.meta
84+
85+
/coverage
86+
/third-party
87+
88+
# Test Reports
89+
/reports
90+
91+
# Stack Dumps generated when programs crash (Ex. bash.exe.stackdump on Win)
92+
*.stackdump
93+
94+
# Root dir shouldn't have Xcode project
95+
/*.xcodeproj
96+
97+
# ReactCommon subdir shouldn't have Xcode project
98+
/packages/react-native/ReactCommon/**/*.xcodeproj
99+
100+
# Libs that shouldn't have Xcode project
101+
/packages/react-native/Libraries/FBLazyVector/**/*.xcodeproj
102+
/packages/react-native/Libraries/Required/**/*.xcodeproj
103+
/packages/react-native/React/CoreModules/**/*.xcodeproj
104+
/packages/react-native/React/FBReactNativeSpec/**/*.xcodeproj
105+
/packages/react-native-codegen/**/*.xcodeproj
106+
/packages/rn-tester/**/*.xcodeproj
107+
108+
# Ruby Gems (Bundler)
109+
/packages/react-native/vendor
110+
/private/helloworld/vendor
111+
.ruby-version
112+
/**/.ruby-version
113+
vendor/
114+
115+
# iOS / CocoaPods
116+
/private/helloworld/ios/build/
117+
/private/helloworld/ios/Pods/
118+
/private/helloworld/ios/Podfile.lock
119+
/packages/rn-tester/bin/
120+
/packages/rn-tester/cache/
121+
/packages/rn-tester/extensions/
122+
/packages/rn-tester/gems/
123+
/packages/rn-tester/specifications/
124+
/packages/rn-tester/Gemfile.lock
125+
/packages/**/RCTLegacyInteropComponents.mm
126+
/packages/sourcemap.ios.map
127+
128+
# Ignore RNTester specific Pods, but keep the __offline_mirrors__ here.
129+
/packages/rn-tester/Pods/*
130+
!/packages/rn-tester/Pods/__offline_mirrors_hermes__
131+
!/packages/rn-tester/Pods/__offline_mirrors_jsc__
132+
133+
# Swift Package build folder
134+
/packages/react-native/.build
135+
/packages/react-native/.swiftpm
136+
/packages/react-native/React/includes/
137+
138+
# @react-native/codegen
139+
/packages/react-native/React/FBReactNativeSpec/
140+
/packages/react-native-codegen/lib
141+
/packages/react-native-codegen/tmp/
142+
/packages/rn-tester/NativeModuleExample/ScreenshotManagerSpec*
143+
/**/RCTThirdPartyFabricComponentsProvider.*
144+
145+
# @react-native/codegen-typescript-test
146+
/private/react-native-codegen-typescript-test/lib
147+
148+
# Additional SDKs
149+
/packages/react-native/sdks/download
150+
/packages/react-native/sdks/hermes
151+
/packages/react-native/sdks/hermesc
152+
/packages/react-native/sdks/hermes-engine/hermes-engine-from-local-source-dir.tar.gz
153+
154+
# iOS prebuilds
155+
/packages/react-native/third-party/
156+
fix_*.patch
157+
*.xcframework
158+
159+
# Visual Studio Code (config dir - if present, this merges user defined
160+
# workspace settings on top of react-native.code-workspace)
161+
/.vscode
162+
163+
# Visual Studio
164+
.vs
165+
166+
# Android memory profiler files
167+
*.hprof
168+
169+
# Temporary files created by Metro to check the health of the file watcher
170+
.metro-health-check*
171+
172+
# Jest Integration
173+
/private/react-native-fantom/build/
174+
/private/react-native-fantom/.out/
175+
/private/react-native-fantom/tester/build/
176+
177+
# [Experimental] Generated TS type definitions
178+
/packages/**/types_generated/

App.tsx

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
Copyright (c) 2024-present, salesforce.com, inc. All rights reserved.
3+
4+
Redistribution and use of this software in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright notice, this list of conditions
7+
and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright notice, this list of
9+
conditions and the following disclaimer in the documentation and/or other materials provided
10+
with the distribution.
11+
* Neither the name of salesforce.com, inc. nor the names of its contributors may be used to
12+
endorse or promote products derived from this software without specific prior written
13+
permission of salesforce.com, inc.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
16+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
17+
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
18+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
22+
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23+
*/
24+
25+
import React from 'react';
26+
import { NavigationContainer } from '@react-navigation/native';
27+
import { createNativeStackNavigator } from '@react-navigation/native-stack';
28+
import HomeScreen from './src/screens/HomeScreen';
29+
import SettingsScreen from './src/screens/SettingsScreen';
30+
31+
type RootStackParamList = {
32+
Home: undefined;
33+
Settings: undefined;
34+
};
35+
36+
const Stack = createNativeStackNavigator<RootStackParamList>();
37+
38+
const App = (): JSX.Element => {
39+
return (
40+
<NavigationContainer>
41+
<Stack.Navigator
42+
initialRouteName="Home"
43+
screenOptions={{
44+
headerStyle: {
45+
backgroundColor: '#0176D3',
46+
},
47+
headerTintColor: '#ffffff',
48+
headerTitleStyle: {
49+
fontWeight: 'bold',
50+
},
51+
}}
52+
>
53+
<Stack.Screen
54+
name="Home"
55+
component={HomeScreen}
56+
options={{
57+
title: 'Agentforce Service Agent',
58+
}}
59+
/>
60+
<Stack.Screen
61+
name="Settings"
62+
component={SettingsScreen}
63+
options={{
64+
title: 'Configuration',
65+
}}
66+
/>
67+
</Stack.Navigator>
68+
</NavigationContainer>
69+
);
70+
};
71+
72+
export default App;

CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Comment line immediately above ownership line is reserved for related other information. Please be careful while editing.
2+
#ECCN:Open Source
3+
#GUSINFO:Open Source,Open Source Workflow

CODE_OF_CONDUCT.md

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# Salesforce Open Source Community Code of Conduct
2+
3+
## About the Code of Conduct
4+
5+
Equality is a core value at Salesforce. We believe a diverse and inclusive
6+
community fosters innovation and creativity, and are committed to building a
7+
culture where everyone feels included.
8+
9+
Salesforce open-source projects are committed to providing a friendly, safe, and
10+
welcoming environment for all, regardless of gender identity and expression,
11+
sexual orientation, disability, physical appearance, body size, ethnicity, nationality,
12+
race, age, religion, level of experience, education, socioeconomic status, or
13+
other similar personal characteristics.
14+
15+
The goal of this code of conduct is to specify a baseline standard of behavior so
16+
that people with different social values and communication styles can work
17+
together effectively, productively, and respectfully in our open source community.
18+
It also establishes a mechanism for reporting issues and resolving conflicts.
19+
20+
All questions and reports of abusive, harassing, or otherwise unacceptable behavior
21+
in a Salesforce open-source project may be reported by contacting the Salesforce
22+
Open Source Conduct Committee at ossconduct@salesforce.com.
23+
24+
## Our Pledge
25+
26+
In the interest of fostering an open and welcoming environment, we as
27+
contributors and maintainers pledge to making participation in our project and
28+
our community a harassment-free experience for everyone, regardless of gender
29+
identity and expression, sexual orientation, disability, physical appearance,
30+
body size, ethnicity, nationality, race, age, religion, level of experience, education,
31+
socioeconomic status, or other similar personal characteristics.
32+
33+
## Our Standards
34+
35+
Examples of behavior that contributes to creating a positive environment
36+
include:
37+
38+
* Using welcoming and inclusive language
39+
* Being respectful of differing viewpoints and experiences
40+
* Gracefully accepting constructive criticism
41+
* Focusing on what is best for the community
42+
* Showing empathy toward other community members
43+
44+
Examples of unacceptable behavior by participants include:
45+
46+
* The use of sexualized language or imagery and unwelcome sexual attention or
47+
advances
48+
* Personal attacks, insulting/derogatory comments, or trolling
49+
* Public or private harassment
50+
* Publishing, or threatening to publish, others' private information—such as
51+
a physical or electronic address—without explicit permission
52+
* Other conduct which could reasonably be considered inappropriate in a
53+
professional setting
54+
* Advocating for or encouraging any of the above behaviors
55+
56+
## Our Responsibilities
57+
58+
Project maintainers are responsible for clarifying the standards of acceptable
59+
behavior and are expected to take appropriate and fair corrective action in
60+
response to any instances of unacceptable behavior.
61+
62+
Project maintainers have the right and responsibility to remove, edit, or
63+
reject comments, commits, code, wiki edits, issues, and other contributions
64+
that are not aligned with this Code of Conduct, or to ban temporarily or
65+
permanently any contributor for other behaviors that they deem inappropriate,
66+
threatening, offensive, or harmful.
67+
68+
## Scope
69+
70+
This Code of Conduct applies both within project spaces and in public spaces
71+
when an individual is representing the project or its community. Examples of
72+
representing a project or community include using an official project email
73+
address, posting via an official social media account, or acting as an appointed
74+
representative at an online or offline event. Representation of a project may be
75+
further defined and clarified by project maintainers.
76+
77+
## Enforcement
78+
79+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
80+
reported by contacting the Salesforce Open Source Conduct Committee
81+
at ossconduct@salesforce.com. All complaints will be reviewed and investigated
82+
and will result in a response that is deemed necessary and appropriate to the
83+
circumstances. The committee is obligated to maintain confidentiality with
84+
regard to the reporter of an incident. Further details of specific enforcement
85+
policies may be posted separately.
86+
87+
Project maintainers who do not follow or enforce the Code of Conduct in good
88+
faith may face temporary or permanent repercussions as determined by other
89+
members of the project's leadership and the Salesforce Open Source Conduct
90+
Committee.
91+
92+
## Attribution
93+
94+
This Code of Conduct is adapted from the [Contributor Covenant][contributor-covenant-home],
95+
version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html.
96+
It includes adaptions and additions from [Go Community Code of Conduct][golang-coc],
97+
[CNCF Code of Conduct][cncf-coc], and [Microsoft Open Source Code of Conduct][microsoft-coc].
98+
99+
This Code of Conduct is licensed under the [Creative Commons Attribution 3.0 License][cc-by-3-us].
100+
101+
[contributor-covenant-home]: https://www.contributor-covenant.org (https://www.contributor-covenant.org/)
102+
[golang-coc]: https://golang.org/conduct
103+
[cncf-coc]: https://github.com/cncf/foundation/blob/master/code-of-conduct.md
104+
[microsoft-coc]: https://opensource.microsoft.com/codeofconduct/
105+
[cc-by-3-us]: https://creativecommons.org/licenses/by/3.0/us/

0 commit comments

Comments
 (0)